From: Wang Shilong Date: Sun, 7 Apr 2013 10:50:18 +0000 (+0000) Subject: Btrfs: fix missing check before creating a qgroup relation X-Git-Tag: v3.10-rc1~31^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7fef4f593007d52ba7fe4427e099bd71c63c521;p=pandora-kernel.git Btrfs: fix missing check before creating a qgroup relation Step to reproduce: mkfs.btrfs mount btrfs quota enable btrfs qgroup assign 0/1 1/1 umount btrfs-debug-tree | 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 Reviewed-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed