aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.34/511-yaffs-cvs-2009-04-24.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-06-12 18:10:09 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-06-12 18:10:09 +0000
commit61ff8d986dbcb3385eeb85f78ed5fd97c7104f3a (patch)
treeb0989d148c5b45bdf01627408cd224bf5851d173 /target/linux/generic-2.6/patches-2.6.34/511-yaffs-cvs-2009-04-24.patch
parent5ec4eabfcb534df62171372f28f5cd0aea83dbb7 (diff)
downloadupstream-61ff8d986dbcb3385eeb85f78ed5fd97c7104f3a.tar.gz
upstream-61ff8d986dbcb3385eeb85f78ed5fd97c7104f3a.tar.bz2
upstream-61ff8d986dbcb3385eeb85f78ed5fd97c7104f3a.zip
refresh 2.6.34 patches
SVN-Revision: 21768
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.34/511-yaffs-cvs-2009-04-24.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.34/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.34/511-yaffs-cvs-2009-04-24.patch b/target/linux/generic-2.6/patches-2.6.34/511-yaffs-cvs-2009-04-24.patch
index c40da10d69..c334b17d08 100644
--- a/target/linux/generic-2.6/patches-2.6.34/511-yaffs-cvs-2009-04-24.patch
+++ b/target/linux/generic-2.6/patches-2.6.34/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