btrfs: Remove root parameter from btrfs_unlink_subvol
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Wed, 1 Aug 2018 03:32:30 +0000 (11:32 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:13:01 +0000 (13:13 +0200)
commit401b3b19d592391b718b7a17295ae34eace973dd
tree355f020d3273f61ab2ab52997daf570b7a367331
parent6025c19fb208e93b99eafc304e7f16160e49fc88
btrfs: Remove root parameter from btrfs_unlink_subvol

All callers pass the root tree of dir, we can push that down to the
function itself.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c