summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-05-23 13:17:32 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-05-23 13:17:32 +0000
commit3e4f6af8a5cf99e178706b4490a3ab96cdc34362 (patch)
tree9280fa304484f75dbc9faf4e52b99f9e52ef3608 /target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch
parentb18a1d217ba9a6516c195339e9f4dde3e0a7f3ce (diff)
downloadmtk-20170518-3e4f6af8a5cf99e178706b4490a3ab96cdc34362.zip
mtk-20170518-3e4f6af8a5cf99e178706b4490a3ab96cdc34362.tar.gz
mtk-20170518-3e4f6af8a5cf99e178706b4490a3ab96cdc34362.tar.bz2
generic-2.6: refresh patches
SVN-Revision: 21542
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch b/target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch
index c334b17..c40da10 100644
--- a/target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch
+++ b/target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch
@@ -11038,14 +11038,14 @@
+ yaffs_UnpackTags2(tags, &pt);
+ }
+ }
-+
+
+- if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
+- tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;
+ if (localData)
+ yaffs_ReleaseTempBuffer(dev, data, __LINE__);
-- if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
+ if (tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
- tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;
--
++ tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;
if (retval == 0)
return YAFFS_OK;
else