X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_vfs_multi.c;h=c61da67da12f952edba6b5ae51f8996ddeb5dcd3;hp=11ddc750b7a79f3d9ca5dcd275ff0c735e798999;hb=6aacb9c19734f42df0bfedff962fb231793c6423;hpb=e96a9be41b7e129a2fbaf42bd72804e354a7447f diff --git a/yaffs_vfs_multi.c b/yaffs_vfs_multi.c index 11ddc75..c61da67 100644 --- a/yaffs_vfs_multi.c +++ b/yaffs_vfs_multi.c @@ -2950,6 +2950,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; @@ -3195,6 +3199,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");