]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove root argument from cow_file_range_inline
authorNikolay Borisov <nborisov@suse.com>
Fri, 2 Mar 2018 07:43:15 +0000 (09:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:42 +0000 (15:09 +0200)
commitdf6e3fe5747e49a11b7f7ed404fb3721dfbdbaf8
tree20d3cdbda68c54f8f48341ab9653b8ba9b7ba9bf
parent39c1fee04f0ee45ae9e9cfc663fa26ee27b52056
btrfs: Remove root argument from cow_file_range_inline

This argument is always set to the root of the inode, which is also
passed. So let's get a reference inside the function and simplify
the arg list.

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/inode.c