OSDN Git Service

btrfs: sink arugment tree to contiguous_readpages
authorDavid Sterba <dsterba@suse.com>
Wed, 5 Feb 2020 18:09:40 +0000 (19:09 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:35 +0000 (17:01 +0100)
commitb6660e80f1c658fa6b886e213d72f18a9dd32ee0
tree81ad5a4b65cb5bb14e41020aa0bc95cb638a5962
parent0d44fea77e553ab09a0f6061e0b2be68039852b6
btrfs: sink arugment tree to contiguous_readpages

The tree pointer can be safely read from the inode, use it and drop the
redundant argument.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c