]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix the qgroup reserved space is released prematurely
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 20 Feb 2013 09:13:32 +0000 (09:13 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 18:00:02 +0000 (13:00 -0500)
commit855c08ea4b959f924ec179a594cf22115214d78c
treefac234e29328709e2b7f08277f95ae7f61d32a0e
parent4ace89e24ac562534fea184cdaa9f146f5c26d39
Btrfs: fix the qgroup reserved space is released prematurely

In start_transactio(), we will try to join the transaction again after
the current transaction is committed, so we should not release the
reserved space of the qgroup. Fix it.

Cc: Arne Jansen <sensille@gmx.net>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/transaction.c