X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e0f1f9a076a49a27c1ab2c7b25ae89641e3ab44d..1430d7ad5e67043f7d7069088d215b4024aaa6e4:/target/linux/generic/patches-3.0/501-yaffs_cvs_2009_04_24.patch 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 c40da10d6..c334b17d0 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