summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-24 15:36:33 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-24 15:36:33 +0000
commite0f1f9a076a49a27c1ab2c7b25ae89641e3ab44d (patch)
tree66d1436db10ea361c7b7104bdf2cb33e5241624e
parente7b2bb9b51a34fb9946f9e4af2d787255757cb96 (diff)
[generic] refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27759 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/patches-3.0/501-yaffs_cvs_2009_04_24.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/patches-3.0/501-yaffs_cvs_2009_04_24.patch b/target/linux/generic/patches-3.0/501-yaffs_cvs_2009_04_24.patch
index c334b17d08..c40da10d69 100644
--- a/target/linux/generic/patches-3.0/501-yaffs_cvs_2009_04_24.patch
+++ b/target/linux/generic/patches-3.0/501-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