OSDN Git Service

btrfs: Remove inode argument from async_cow_submit
authorNikolay Borisov <nborisov@suse.com>
Thu, 3 Jan 2019 08:49:59 +0000 (10:49 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:18 +0000 (14:13 +0100)
commit532425ff9e137af0cb98964475eccb72202bd514
treec368f0c42ec2de08fd2120ab724d0b4bb9fd4393
parentaa704d4e75c1ee4fe8eb6dc448955792fe19c96d
btrfs: Remove inode argument from async_cow_submit

We already pass the async_cow struct that holds a reference to the
inode. Exploit this fact and remove the extra inode argument. No
functional changes.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c