]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/btrfs/inode.c
btrfs: Remove redundant tree argument from extent_readpages
authorNikolay Borisov <nborisov@suse.com>
Thu, 19 Apr 2018 07:46:36 +0000 (10:46 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:19 +0000 (18:07 +0200)
commit2a3ff0adc92069122a75c3e37271d7ab7ce0dc1c
tree5bbd1599a127a6c43fc585e6a3a09eb578b9abf2
parent29c68b2de98c23a2c97fa02c37ce9bf3c15076bd
btrfs: Remove redundant tree argument from extent_readpages

This function is called only from btrfs_readpage and is already passed
the mapping. Simplify its signature by moving the code obtaining
reference to the extent tree in the function. No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c