This is a note to let you know that I've just added the patch titled Btrfs: reset intwrite on transaction abort to the 3.12-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: btrfs-reset-intwrite-on-transaction-abort.patch and it can be found in the queue-3.12 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From e0228285a8cad70e4b7b4833cc650e36ecd8de89 Mon Sep 17 00:00:00 2001 From: Josef Bacik <jbacik@xxxxxxxxxxxx> Date: Fri, 20 Sep 2013 22:26:29 -0400 Subject: Btrfs: reset intwrite on transaction abort From: Josef Bacik <jbacik@xxxxxxxxxxxx> commit e0228285a8cad70e4b7b4833cc650e36ecd8de89 upstream. 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@xxxxxxxxxxxx> Signed-off-by: Chris Mason <chris.mason@xxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/btrfs/transaction.c | 2 ++ 1 file changed, 2 insertions(+) --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -1552,6 +1552,8 @@ static void cleanup_transaction(struct b root->fs_info->running_transaction = NULL; spin_unlock(&root->fs_info->trans_lock); + if (trans->type & __TRANS_FREEZABLE) + sb_end_intwrite(root->fs_info->sb); put_transaction(cur_trans); put_transaction(cur_trans); Patches currently in stable-queue which might be from jbacik@xxxxxxxxxxxx are queue-3.12/btrfs-fix-memory-leak-of-chunks-extent-map.patch queue-3.12/btrfs-fix-lockdep-error-in-async-commit.patch queue-3.12/btrfs-fix-incorrect-inode-acl-reset.patch queue-3.12/btrfs-reset-intwrite-on-transaction-abort.patch queue-3.12/btrfs-do-not-run-snapshot-aware-defragment-on-error.patch queue-3.12/btrfs-do-a-full-search-everytime-in-btrfs_search_old_slot.patch queue-3.12/btrfs-take-ordered-root-lock-when-removing-ordered-operations-inode.patch queue-3.12/btrfs-fix-hole-check-in-log_one_extent.patch queue-3.12/btrfs-fix-a-crash-when-running-balance-and-defrag-concurrently.patch queue-3.12/btrfs-stop-using-vfs_read-in-send.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html