From: Arne Jansen Date: Thu, 17 Jan 2013 08:22:09 +0000 (-0700) Subject: Btrfs: prevent qgroup destroy when there are still relations X-Git-Tag: v3.8-rc5~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf687039676c2b6e1ee96b0b89090aca94babcd;p=pandora-kernel.git Btrfs: prevent qgroup destroy when there are still relations Currently you can just destroy a qgroup even though it is in use by other qgroups or has qgroups assigned to it. This patch prevents destruction of qgroups unless they are completely unused. Otherwise destroy will return EBUSY. Reported-by: Eric Hopper Signed-off-by: Arne Jansen Signed-off-by: Chris Mason --- Reading git-diff-tree failed