Btrfs: qgroup: cleanup, remove an unsued parameter in btrfs_create_qgroup().
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:

committed by
Chris Mason

parent
03477d945f
commit
4087cf24ae
@@ -4679,8 +4679,7 @@ static long btrfs_ioctl_qgroup_create(struct file *file, void __user *arg)
|
||||
|
||||
/* FIXME: check if the IDs really exist */
|
||||
if (sa->create) {
|
||||
ret = btrfs_create_qgroup(trans, root->fs_info, sa->qgroupid,
|
||||
NULL);
|
||||
ret = btrfs_create_qgroup(trans, root->fs_info, sa->qgroupid);
|
||||
} else {
|
||||
ret = btrfs_remove_qgroup(trans, root->fs_info, sa->qgroupid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user