diff options
author | Arne Jansen <[email protected]> | 2013-01-17 01:22:09 -0700 |
---|---|---|
committer | Chris Mason <[email protected]> | 2013-01-21 20:18:11 -0500 |
commit | 2cf687039676c2b6e1ee96b0b89090aca94babcd (patch) | |
tree | 2104949c48c4549331ac632ae265bfca8532b279 /lib/mpi/mpi-internal.h | |
parent | ff24858c65d9c518af41aad22fb964685351051a (diff) |
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 <[email protected]>
Signed-off-by: Arne Jansen <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions