Skip to content
Commit 2cf68703 authored by Arne Jansen's avatar Arne Jansen Committed by Chris Mason
Browse files

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: default avatarEric Hopper <hopper@omnifarious.org>
Signed-off-by: default avatarArne Jansen <sensille@gmx.net>
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent ff24858c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment