Jan Kara
32c3773011
ext4: fix deadlock in ext4_remount() and orphan list handling
...
ext4_orphan_add() and ext4_orphan_del() functions lock sb->s_lock with a
transaction started with ext4_mark_recovery_complete() waits for a transaction
holding sb->s_lock, thus leading to a possible deadlock. At the moment we
call ext4_mark_recovery_complete() from ext4_remount() we have done all the
work needed for remounting and thus we are safe to drop sb->s_lock before we
wait for transactions to commit. Note that at this moment we are still
guarded by s_umount lock against other remounts/umounts.
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Eric Sandeen <sandeen@sandeen.net>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:48 -07:00
..
2007-07-14 15:14:14 -05:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:43 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:36 -07:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-15 16:40:51 -07:00
2007-05-21 09:18:19 -07:00
2007-07-11 16:09:00 -07:00
2007-05-08 11:14:59 -07:00
2007-07-09 08:24:13 +01:00
2007-07-11 16:09:06 -07:00
2007-05-17 05:23:04 -07:00
2007-05-08 11:15:07 -07:00
2007-07-16 09:05:44 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:41 -07:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:45 -07:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:46 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:34 -07:00
2007-07-16 09:05:34 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 23:40:49 -04:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:42 -07:00
2007-07-13 16:46:18 -07:00
2007-07-10 08:04:13 +02:00
2007-07-11 16:09:06 -07:00
2007-05-17 05:23:04 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:46 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:43 -07:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-11 16:09:09 -07:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:41 -07:00
2007-07-10 08:04:13 +02:00
2007-07-14 18:09:42 +10:00
2007-05-11 08:29:37 -07:00
2007-05-11 08:29:36 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:07 -07:00
2007-07-16 09:05:47 -07:00
2007-05-08 11:15:07 -07:00
2007-06-08 17:23:32 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:03:34 +02:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:45 -07:00
2007-05-25 17:37:46 -07:00
2007-05-23 20:14:12 -07:00
2007-05-08 11:15:07 -07:00
2007-07-03 18:23:23 -07:00
2007-05-17 05:23:05 -07:00
2007-07-16 09:05:36 -07:00
2007-05-18 13:09:34 -07:00
2007-05-15 08:54:00 -07:00
2007-05-23 20:14:13 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:01 -07:00
2007-05-17 05:23:04 -07:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:15:09 -07:00
2007-07-16 09:05:47 -07:00
2007-07-14 15:13:40 -05:00
2007-05-21 14:34:00 +09:00
2007-05-09 06:44:57 +02:00
2007-05-17 05:23:04 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:35 -07:00
2007-05-11 05:38:26 -04:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:45 -07:00
2007-07-10 08:04:16 +02:00
2007-05-08 11:15:11 -07:00
2007-05-17 05:23:05 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:09 -07:00
2007-05-09 07:10:02 +02:00
2007-07-16 09:05:45 -07:00
2007-06-28 11:34:54 -07:00
2007-07-13 14:14:31 +02:00
2007-05-08 11:15:07 -07:00
2007-07-16 09:05:46 -07:00
2007-06-28 11:38:30 -07:00
2007-05-18 13:09:34 -07:00
2007-07-08 12:02:55 -07:00
2007-05-11 05:38:26 -04:00