Patch fixes confused (cut/paste oversight) in autoselect code, which
always selects yaffs1 with kernel <=2.6.17
diff -ur yaffs2.fixes/yaffs_fs.c yaffs2/yaffs_fs.c
--- yaffs2.fixes/yaffs_fs.c 2006-10-16 09:47:49.000000000 -0600
+++ yaffs2/yaffs_fs.c 2006-10-03 04:13:03.000000000 -0600
@@ -1543,7 +1543,7 @@
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
mtd->writesize == 512) {
#else
- mtd->oobblock == 512) {
+ mtd->oobblock >= 512) {
#endif
T(YAFFS_TRACE_ALWAYS,("yaffs: auto selecting yaffs1\n"));
yaffsVersion = 1;
=================================================================
In a world without walls and fences, who needs Windows and Gates?
=================================================================