]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: ignore orphan qgroup relations
authorArne Jansen <sensille@gmx.net>
Thu, 17 Jan 2013 08:22:08 +0000 (01:22 -0700)
committerChris Mason <chris.mason@fusionio.com>
Tue, 22 Jan 2013 01:18:11 +0000 (20:18 -0500)
commita9e095eda8799b07c18357cf05f319c4de0a2cb2
tree492e08f7f9a4c0355ebd8f51a6048a0b6effc614
parent31adf3ee2eeaa80339036b8a938b287c26acf857
Btrfs: ignore orphan qgroup relations

If a qgroup that has still assignments is deleted by the user, the corresponding
relations are left in the tree. This leads to an unmountable filesystem.
With this patch, those relations are simple ignored.

Reported-by: Eric Hopper <hopper@omnifarious.org>
Signed-off-by: Arne Jansen <sensille@gmx.net>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/qgroup.c