]> 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)
commitf835fe49daa97494e64c54ac25ec68bd4699dea5
tree20d3cdbda68c54f8f48341ab9653b8ba9b7ba9bf
parentb4aeba1d975350fd4f86e8a832abd74eaa6a5b49
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