https://github.com/torvalds/linux
Revision 81e2962801bbb4e740c501ca687d5cb857929c04 authored by Joakim Tjernlund on 28 May 2009, 15:43:59 UTC, committed by David Woodhouse on 29 May 2009, 09:44:46 UTC
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>
1 parent 8541c11
History
Tip revision: 81e2962801bbb4e740c501ca687d5cb857929c04 authored by Joakim Tjernlund on 28 May 2009, 15:43:59 UTC
jffs2: Fix corruption when flash erase/write failure
Tip revision: 81e2962
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 885 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.6 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 144.6 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top