From: Jo-Philipp Wich <jow@openwrt.org>
Date: Sun, 24 Jul 2011 15:36:33 +0000 (+0000)
Subject: refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
X-Git-Tag: reboot~16181
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6eb9e39bc40c6682ffa0a7e802c3fab899940035;p=openwrt%2Fstaging%2Fxback.git

refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final

SVN-Revision: 27759
---

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