aboutsummaryrefslogtreecommitdiffstats
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@openwrt.org>2010-05-23 13:17:32 +0000
committerHauke Mehrtens <hauke@openwrt.org>2010-05-23 13:17:32 +0000
commitcfb92685072475fa57c34599426364c703d00fa4 (patch)
tree866365090b64dca328a506afe45461b4521a65bd /target/linux/generic-2.6/patches-2.6.33/511-yaffs-cvs-2009-04-24.patch
parent0710ef015da0c48ededae7d46a21a19a2ec9c5dd (diff)
downloadupstream-cfb92685072475fa57c34599426364c703d00fa4.tar.gz
upstream-cfb92685072475fa57c34599426364c703d00fa4.tar.bz2
upstream-cfb92685072475fa57c34599426364c703d00fa4.zip
generic-2.6: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21542 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 c334b17d08..c40da10d69 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