diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2009-05-28 19:43:59 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-05-29 13:44:46 +0400 |
commit | 81e2962801bbb4e740c501ca687d5cb857929c04 (patch) | |
tree | 59b7eabd1477825c48278956a9a9a387ee92d12b /block/deadline-iosched.c | |
parent | 8541c1180a355c4da283fc6b03a92c0233823c1b (diff) | |
download | linux-81e2962801bbb4e740c501ca687d5cb857929c04.tar.xz |
jffs2: Fix corruption when flash erase/write failure
Erase errors such as:
"Newly-erased block contained word 0xa4ef223e at offset 0x0296a014"
and failure to write the clean marker,
moves the offending erase block to erasing list before calling
jffs2_erase_failed(). This is bad as jffs2_erase_failed() will
also move the block to the bad_list, but is now moving the
wrong block, causing FS corruption.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'block/deadline-iosched.c')
0 files changed, 0 insertions, 0 deletions