From: Liu Bo Date: Mon, 5 Nov 2012 12:42:08 +0000 (+0000) Subject: Btrfs: fix a deadlock in aborting transaction due to ENOSPC X-Git-Tag: v3.8-rc1~71^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37c4146d2208ba7e4463e8dd95a1bf9e3d865280;p=pandora-kernel.git Btrfs: fix a deadlock in aborting transaction due to ENOSPC When committing a transaction, we may bail out of running delayed refs due to ENOSPC, and then abort the current transaction to flip into readonly. But we'll hit a deadlock on ref head's lock since we forget to release its lock and other cleanup stuff. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed