mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 04:32:05 +03:00
[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
This commit is contained in:
parent
e7b2bb9b51
commit
e0f1f9a076
@ -11038,14 +11038,14 @@
|
|||||||
+ yaffs_UnpackTags2(tags, &pt);
|
+ yaffs_UnpackTags2(tags, &pt);
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+
|
|
||||||
|
- if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
|
||||||
|
- tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;
|
||||||
+ if (localData)
|
+ if (localData)
|
||||||
+ yaffs_ReleaseTempBuffer(dev, data, __LINE__);
|
+ 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)
|
+ 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)
|
if (retval == 0)
|
||||||
return YAFFS_OK;
|
return YAFFS_OK;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user