diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2015-01-18 16:59:23 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-04-13 16:52:44 +0200 |
commit | 4087cf24ae2af17f7dd9fd34e22fde816952d421 (patch) | |
tree | eeb762c7d9e02e8654b322de316b82857283a900 /fs/btrfs/ioctl.c | |
parent | btrfs: qgroup: fix limit args override whole limit struct (diff) | |
download | linux-4087cf24ae2af17f7dd9fd34e22fde816952d421.tar.xz linux-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); } |