Liu Bo 37c4146d22 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 <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
2012-12-12 17:15:25 -05:00
..
2012-12-12 17:15:24 -05:00
2012-12-12 17:15:24 -05:00
2012-12-12 17:15:21 -05:00
2012-12-12 17:15:23 -05:00
2012-05-29 23:28:33 -04:00
2012-12-12 17:15:23 -05:00
2012-10-09 09:14:45 -04:00
2012-10-09 09:14:45 -04:00
2012-12-12 17:15:24 -05:00
2012-10-01 15:19:21 -04:00
2011-06-17 14:54:18 -04:00
2012-12-12 17:15:23 -05:00
2012-10-01 15:18:53 -04:00
2012-10-01 15:18:53 -04:00
2012-12-12 17:15:23 -05:00
2012-10-09 09:19:57 -04:00