]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
btrfs: Remove 'tree' argument from read_extent_buffer_pages
authorNikolay Borisov <nborisov@suse.com>
Wed, 10 Apr 2019 14:24:40 +0000 (17:24 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:46 +0000 (19:02 +0200)
commitc2ccfbc62e9f00979fc1a82ab93ff0a4ddd8944a
treecb505b84b63f605527cc9d0d012ff994fce3eb39
parenta56b1c7bc83c2c5439e4a5d44f35cea36fbe2c9d
btrfs: Remove 'tree' argument from read_extent_buffer_pages

This function always uses the btree inode's io_tree. Stop taking the
tree as a function argument and instead access it internally from
read_extent_buffer_pages. No functional changes.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h