Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349156
b: refs/heads/master
c: d86e56c
h: refs/heads/master
v: v3
  • Loading branch information
Miao Xie authored and Josef Bacik committed Jan 14, 2013
1 parent 6027dc3 commit ff71af6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc975eb4605c5765a5d5e7a51d24ba5a1cda269e
refs/heads/master: d86e56cf7d3669dd292012ac82b986bd1573b6cc
5 changes: 5 additions & 0 deletions trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3698,6 +3698,11 @@ static long btrfs_ioctl_qgroup_create(struct file *file, void __user *arg)
goto drop_write;
}

if (!sa->qgroupid) {
ret = -EINVAL;
goto out;
}

trans = btrfs_join_transaction(root);
if (IS_ERR(trans)) {
ret = PTR_ERR(trans);
Expand Down

0 comments on commit ff71af6

Please sign in to comment.