From 4b9eaacb2bce22f5600672ce2ff293899e65e1d6 Mon Sep 17 00:00:00 2001 From: charles Date: Tue, 26 Nov 2002 01:39:53 +0000 Subject: [PATCH] *** empty log message *** --- yaffs_fs.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/yaffs_fs.c b/yaffs_fs.c index da3b7f9..81b8ccf 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -27,7 +27,7 @@ */ -const char *yaffs_fs_c_version = "$Id: yaffs_fs.c,v 1.20 2002-11-26 01:15:37 charles Exp $"; +const char *yaffs_fs_c_version = "$Id: yaffs_fs.c,v 1.21 2002-11-26 01:39:53 charles Exp $"; extern const char *yaffs_guts_c_version; @@ -1175,8 +1175,12 @@ static struct super_block *yaffs_internal_read_super(int useRam, struct super_bl if(!mtd->erase || !mtd->read || !mtd->write || +#ifndef CONFIG_YAFFS_USE_OLD_MTD + !mtd->write_ecc || + !mtd->read_ecc || +#endif !mtd->read_oob || - !mtd->write_oob) + !mtd->write_oob ) { printk(KERN_DEBUG "yaffs: MTD device does not support required functions\n"); return NULL; -- 2.30.2