From: charles Date: Tue, 24 Oct 2006 18:09:15 +0000 (+0000) Subject: Fix autodetection value X-Git-Tag: pre-name-change~339 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=d469be1af594bc4c67bb02c1c149489a32e62373 Fix autodetection value --- 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;