btrfs: sink extent_write_locked_range tree parameter
authorNikolay Borisov <nborisov@suse.com>
Fri, 8 Dec 2017 13:55:58 +0000 (15:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:16 +0000 (16:08 +0100)
commit5e3ee23648a20dfaf72eeb88f884aae25ea7d8fb
tree24021d1ecf2a66271bc53873f99f6b00fc98b06d
parent3e798068a8ef400049cc3bb4f01f9701a29e1f86
btrfs: sink extent_write_locked_range tree parameter

This function is called only from submit_compressed_extents and the
io tree being passed is always that of the inode. But we are also
passing the inode, so just move getting the io tree pointer in
extent_write_locked_range to simplify the signature.

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/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c