Btrfs: reset intwrite on transaction abort
authorJosef Bacik <jbacik@fusionio.com>
Sat, 21 Sep 2013 02:26:29 +0000 (22:26 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:53:29 +0000 (21:53 -0500)
commite0228285a8cad70e4b7b4833cc650e36ecd8de89
tree66786d96ace6df03211e077df9315b1d37a62864
parent4577b014d1bc3db386da3246f625888fc48083a9
Btrfs: reset intwrite on transaction abort

If we abort a transaction in the middle of a commit we weren't undoing the
intwrite locking.  This patch fixes that problem.

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/transaction.c