diff options
author | Eric Sandeen <sandeen@redhat.com> | 2006-12-06 20:40:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:44 -0800 |
commit | a8f48a95619cbce8f85423480e7d0a1bf971a62b (patch) | |
tree | c33bf8406bb61945c4031b89cad533b041599567 /mm | |
parent | a0e7688df1484fbf4d6d61c31f7d61a5d8cacf3c (diff) | |
download | linux-3.10-a8f48a95619cbce8f85423480e7d0a1bf971a62b.tar.gz linux-3.10-a8f48a95619cbce8f85423480e7d0a1bf971a62b.tar.bz2 linux-3.10-a8f48a95619cbce8f85423480e7d0a1bf971a62b.zip |
[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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions