diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2015-01-18 10:59:23 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-04-13 07:52:44 -0700 |
commit | 4087cf24ae2af17f7dd9fd34e22fde816952d421 (patch) | |
tree | eeb762c7d9e02e8654b322de316b82857283a900 /fs/btrfs/ioctl.c | |
parent | 03477d945f13a284d35a757b2c2323d165d5cd81 (diff) | |
download | lwn-4087cf24ae2af17f7dd9fd34e22fde816952d421.tar.gz lwn-4087cf24ae2af17f7dd9fd34e22fde816952d421.zip |
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>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index ca0736ce25a0..2e66d8e76f32 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -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); } |