diff options
| author | 2013-04-07 10:50:18 +0000 | |
|---|---|---|
| committer | 2013-05-06 15:54:39 -0400 | |
| commit | b7fef4f593007d52ba7fe4427e099bd71c63c521 (patch) | |
| tree | 44a7d1bf7d8bb70cd125e435082c1244466e2e0e /include/linux/debugobjects.h | |
| parent | Btrfs: remove some unnecessary spin_lock usages (diff) | |
Btrfs: fix missing check before creating a qgroup relation
Step to reproduce:
mkfs.btrfs <disk>
mount <disk> <mnt>
btrfs quota enable <mnt>
btrfs qgroup assign 0/1 1/1 <mnt>
umount <mnt>
btrfs-debug-tree <disk> | grep QGROUP
If we want to add a qgroup relation, we should gurantee that
'src' and 'dst' exist, otherwise, such qgroup relation should
not be allowed to create.
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Reviewed-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
