summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/math.h
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2013-01-17 09:22:09 +0100
committerChris Mason <chris.mason@fusionio.com>2013-01-22 02:18:11 +0100
commit2cf687039676c2b6e1ee96b0b89090aca94babcd (patch)
tree2104949c48c4549331ac632ae265bfca8532b279 /fs/btrfs/math.h
parentBtrfs: ignore orphan qgroup relations (diff)
downloadlinux-2cf687039676c2b6e1ee96b0b89090aca94babcd.tar.xz
linux-2cf687039676c2b6e1ee96b0b89090aca94babcd.zip
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 <hopper@omnifarious.org> Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/math.h')
0 files changed, 0 insertions, 0 deletions