Home
last modified time | relevance | path

Searched hist:a8f48a95619cbce8f85423480e7d0a1bf971a62b (Results 1 – 1 of 1) sorted by relevance

/linux/fs/ext4/
H A Dsuper.cdiff a8f48a95619cbce8f85423480e7d0a1bf971a62b Thu Dec 07 05:40:13 CET 2006 Eric Sandeen <sandeen@redhat.com> [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>