Eric Sandeen a8f48a9561 [PATCH] ext3/4: don't do orphan processing on readonly devices
If you do something like:

  # touch foo
  # tail -f foo &
  # rm foo
  # <take snapshot>
  # <mount snapshot>

you'll panic, because ext3/4 tries to do orphan list processing on the
readonly snapshot device, and:

  kernel: journal commit I/O error
  kernel: Assertion failure in journal_flush_Rsmp_e2f189ce() at journal.c:1356: "!journal->j_checkpoint_transactions"
  kernel: Kernel panic: Fatal exception

for a truly readonly underlying device, it's reasonable and necessary
to just skip orphan list processing.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:44 -08:00
..
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-11-25 13:28:33 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-11-16 11:43:38 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-10-03 23:01:26 +02:00
2006-12-07 08:39:23 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:44 -08:00
2006-12-07 08:39:44 -08:00
2006-11-16 11:43:38 -08:00
2006-12-07 08:39:25 -08:00
2006-01-11 18:42:13 -08:00
2006-10-04 06:51:26 -06:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:33 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-01-08 20:12:40 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:24 -08:00
2006-12-07 08:39:25 -08:00
2006-04-11 13:53:33 +02:00
2006-11-30 05:32:19 +01:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-06-26 09:58:17 -07:00
2005-11-07 18:18:11 -08:00
2006-10-01 00:39:19 -07:00
2006-03-23 07:38:11 -08:00
2006-10-01 00:39:29 -07:00
2006-03-23 07:38:12 -08:00
2006-12-07 08:39:35 -08:00