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)
commit6780055cc6a7db58bc4097eb6675953fdf7df13b
tree24021d1ecf2a66271bc53873f99f6b00fc98b06d
parent727d79ae1d9812a80c4162fbfa8cc7914574f842
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