]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/yaffs2/yaffs_guts.c
merged current version of git://git.denx.de/u-boot
[karo-tx-uboot.git] / fs / yaffs2 / yaffs_guts.c
index f0ef8db9ee995c5f8b1729a1601a818e64717025..7390b40e011f85946c27d6d74af4509eb3e256e3 100644 (file)
@@ -2976,7 +2976,7 @@ static int yaffs_GarbageCollectBlock(yaffs_Device * dev, int block)
 
        dev->isDoingGC = 0;
 
-       return YAFFS_OK;
+       return retVal;
 }
 
 /* New garbage collector