Re: [PATCH] btrfs: Remove root argument from cow_file_range_inline

2018-03-05 Thread David Sterba
On Fri, Mar 02, 2018 at 09:43:15AM +0200, Nikolay Borisov wrote: > 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 Reviewed-by: David

[PATCH] btrfs: Remove root argument from cow_file_range_inline

2018-03-01 Thread Nikolay Borisov
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 --- fs/btrfs/inode.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff