diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2008-04-14 09:39:39 +0300 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-22 21:26:16 +0100 |
commit | 67e5a28b35254bbbcd5bfce61ef646709e059bbf (patch) | |
tree | 044fe264f3f770a93fa4de00c8ff0a909d0e007b /crypto/seed.c | |
parent | f1ebe4eba40e0ee862767893277d1b1a1e4cc85f (diff) | |
download | linux-stable-67e5a28b35254bbbcd5bfce61ef646709e059bbf.tar.gz linux-stable-67e5a28b35254bbbcd5bfce61ef646709e059bbf.tar.bz2 linux-stable-67e5a28b35254bbbcd5bfce61ef646709e059bbf.zip |
[MTD] [OneNAND] Allow for controller errors when reading
A power loss while writing can result in a page becoming unreadable.
When the device is mounted again, reading that page gives controller
errors. Upper level software like JFFS2 treat -EIO as fatal, refusing to
mount at all. That means it is necessary to treat the error as an ECC
error to allow recovery. Note that typically in this case, the
eraseblock can still be erased and rewritten i.e. it has not become a
bad block.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions