From d469be1af594bc4c67bb02c1c149489a32e62373 Mon Sep 17 00:00:00 2001 From: charles Date: Tue, 24 Oct 2006 18:09:15 +0000 Subject: [PATCH] Fix autodetection value --- yaffs_fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yaffs_fs.c b/yaffs_fs.c index 89fbcb7..5ff8f36 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -31,7 +31,7 @@ */ const char *yaffs_fs_c_version = - "$Id: yaffs_fs.c,v 1.53 2006-10-03 10:13:03 charles Exp $"; + "$Id: yaffs_fs.c,v 1.54 2006-10-24 18:09:15 charles Exp $"; extern const char *yaffs_guts_c_version; #include @@ -1543,7 +1543,7 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion, #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; -- 2.30.2