projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d8ff5
)
Revert "yaffs: Pass through single bit errors from MTD."
author
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:45:17 +0000
(22:45 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:45:17 +0000
(22:45 +0800)
This reverts commit
d7288aee1853ac9eda4e7bb7e6f723e545f5be0c
.
fs/yaffs2/yaffs_mtdif2.c
patch
|
blob
|
history
diff --git
a/fs/yaffs2/yaffs_mtdif2.c
b/fs/yaffs2/yaffs_mtdif2.c
index fcb50992cdebda0904ef5aba1bb8760b25352555..d04378cc4cbb8af53b64001d6c7fea86ac8d3c19 100644
(file)
--- a/
fs/yaffs2/yaffs_mtdif2.c
+++ b/
fs/yaffs2/yaffs_mtdif2.c
@@
-176,8
+176,6
@@
int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device *dev, int chunkInNAND,
if (tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;
- if (tags && retval == -EUCLEAN && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
- tags->eccResult = YAFFS_ECC_RESULT_FIXED;
if (retval == 0)
return YAFFS_OK;
else