btrfs: qgroup: Drop fs_info parameter from btrfs_add_qgroup_relation
It can be fetched from the transaction handle. Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -5171,8 +5171,7 @@ static long btrfs_ioctl_qgroup_assign(struct file *file, void __user *arg)
|
||||
}
|
||||
|
||||
if (sa->assign) {
|
||||
ret = btrfs_add_qgroup_relation(trans, fs_info,
|
||||
sa->src, sa->dst);
|
||||
ret = btrfs_add_qgroup_relation(trans, sa->src, sa->dst);
|
||||
} else {
|
||||
ret = btrfs_del_qgroup_relation(trans, fs_info,
|
||||
sa->src, sa->dst);
|
||||
|
Reference in New Issue
Block a user