Kamal Dasu
5575acc780
xfs: fix deadlock in xfs_rtfree_extent
...
To fix the deadlock caused by repeatedly calling xfs_rtfree_extent
- removed xfs_ilock() and xfs_trans_ijoin() from xfs_rtfree_extent(),
instead added asserts that the inode is locked and has an inode_item
attached to it.
- in xfs_bunmapi() when dealing with an inode with the rt flag
call xfs_ilock() and xfs_trans_ijoin() so that the
reference count is bumped on the inode and attached it to the
transaction before calling into xfs_bmap_del_extent, similar to
what we do in xfs_bmap_rtalloc.
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Ben Myers <bpm@sgi.com>
2012-03-22 15:31:06 -05:00
..
2011-08-12 16:21:35 -05:00
2012-02-10 12:38:09 -06:00
2012-03-14 11:09:06 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-12-16 15:17:42 -06:00
2011-08-01 02:35:04 -04:00
2011-07-25 15:03:13 -05:00
2011-07-13 13:43:50 +02:00
2011-10-11 21:15:09 -05:00
2012-03-13 16:30:49 -05:00
2012-03-13 16:30:49 -05:00
2012-01-17 15:02:28 -06:00
2012-01-13 12:11:45 -06:00
2011-07-13 13:43:50 +02:00
2012-03-22 15:31:06 -05:00
2011-10-11 21:15:07 -05:00
2011-10-11 21:15:09 -05:00
2011-07-25 15:03:13 -05:00
2011-11-08 10:48:23 -06:00
2012-03-05 11:07:42 -06:00
2011-12-16 15:12:33 -06:00
2011-10-11 21:15:09 -05:00
2011-07-13 13:43:50 +02:00
2012-03-13 17:08:17 -05:00
2011-07-25 15:03:13 -05:00
2012-03-14 13:21:17 -05:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-10-11 21:15:03 -05:00
2011-07-25 13:56:39 -07:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-26 15:05:16 -04:00
2011-07-13 13:43:48 +02:00
2012-01-03 11:39:55 -06:00
2011-08-12 16:21:35 -05:00
2011-12-12 17:28:20 -06:00
2011-08-12 16:21:35 -05:00
2012-03-22 13:48:55 -05:00
2012-03-14 11:53:34 -05:00
2011-12-06 10:46:23 -06:00
2011-08-12 16:21:35 -05:00
2011-11-08 10:48:23 -06:00
2012-03-13 17:18:14 -05:00
2011-10-11 21:15:06 -05:00
2012-01-17 15:08:53 -06:00
2011-07-08 11:32:51 -05:00
2011-10-11 21:15:01 -05:00
2011-08-12 16:21:35 -05:00
2011-07-13 13:43:50 +02:00
2012-01-03 22:55:00 -05:00
2012-01-03 22:55:00 -05:00
2012-03-15 13:16:42 -05:00
2012-03-13 17:18:14 -05:00
2012-03-13 17:18:14 -05:00
2012-03-13 17:08:17 -05:00
2012-03-13 17:01:15 -05:00
2012-03-14 13:21:17 -05:00
2011-08-12 16:21:35 -05:00
2012-03-15 14:14:33 -05:00
2011-08-12 16:21:35 -05:00
2012-03-05 11:53:16 -06:00
2012-03-14 13:21:17 -05:00
2011-08-12 16:21:35 -05:00
2012-03-13 17:01:15 -05:00
2011-10-11 11:02:49 -05:00
2012-01-08 13:21:22 -08:00
2012-02-22 22:37:04 -06:00
2012-02-22 22:19:53 -06:00
2012-02-22 22:37:04 -06:00
2012-02-22 22:37:04 -06:00
2011-08-12 16:21:35 -05:00
2011-10-31 17:30:54 -07:00
2012-02-03 11:21:33 -06:00
2012-03-05 11:07:42 -06:00
2012-03-14 12:06:32 -05:00
2012-03-14 11:53:34 -05:00
2012-03-14 12:06:32 -05:00
2012-03-14 12:06:32 -05:00
2012-03-14 11:09:06 -05:00
2012-02-03 11:32:20 -06:00
2011-08-12 16:21:35 -05:00
2011-10-11 21:15:08 -05:00
2012-03-22 15:31:06 -05:00
2011-07-25 15:03:13 -05:00
2011-10-11 21:15:10 -05:00
2011-10-11 21:15:10 -05:00
2012-02-02 17:08:04 -06:00
2012-03-14 11:09:06 -05:00
2012-03-14 11:09:06 -05:00
2012-03-14 12:06:32 -05:00
2012-03-14 12:06:32 -05:00
2012-03-13 17:01:15 -05:00
2012-03-13 17:01:15 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-03-14 11:09:06 -05:00
2012-02-22 22:17:00 -06:00
2012-02-22 22:17:00 -06:00
2012-03-14 12:06:32 -05:00
2012-03-13 17:08:17 -05:00
2012-02-22 22:17:00 -06:00
2012-02-22 22:37:04 -06:00
2011-12-08 13:53:30 -06:00
2012-01-03 22:55:00 -05:00
2012-01-03 22:55:00 -05:00
2012-03-15 13:40:16 -05:00
2012-01-25 11:01:31 -06:00
2012-03-15 13:40:16 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 13:57:55 -05:00