]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix missing release of the space/qgroup reservation in start_transaction()
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 28 Jan 2013 12:36:22 +0000 (12:36 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Tue, 5 Feb 2013 21:09:11 +0000 (16:09 -0500)
commit0d5ad3cab0a2738e59cf49a92f7533385f1bd7c7
tree4da55ef848c61857624dc29e41b2fb1f8d52af1d
parent7f7fb35988ea5563c32cd3432933fc69ca3410d0
Btrfs: fix missing release of the space/qgroup reservation in start_transaction()

When we fail to start a transaction, we need to release the reserved free space
and qgroup space, fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/transaction.c