X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_vfs.c;h=3b25d0792826c8271c226d2f54da0231f3780182;hp=e6a1c2101b78f8ed8567cc080d7659b2be912dab;hb=eadf0b4ff9a673b3acff35430c6f9edc48c616a6;hpb=e96a9be41b7e129a2fbaf42bd72804e354a7447f diff --git a/yaffs_vfs.c b/yaffs_vfs.c index e6a1c21..3b25d07 100644 --- a/yaffs_vfs.c +++ b/yaffs_vfs.c @@ -2448,6 +2448,10 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion, param->refreshPeriod = 500; #endif +#ifdef CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED + param->alwaysCheckErased = 1; +#endif + if(options.empty_lost_and_found_overridden) param->emptyLostAndFound = options.empty_lost_and_found; @@ -2638,6 +2642,7 @@ static char *yaffs_dump_dev_part0(char *buf, yaffs_Device * dev) buf += sprintf(buf, "refreshPeriod...... %d\n", dev->param.refreshPeriod); buf += sprintf(buf, "nShortOpCaches..... %d\n", dev->param.nShortOpCaches); buf += sprintf(buf, "nReservedBlocks.... %d\n", dev->param.nReservedBlocks); + buf += sprintf(buf, "alwaysCheckErased...%d\n", dev->param.alwaysCheckErased); buf += sprintf(buf, "\n");