X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_vfs.c;fp=yaffs_vfs.c;h=3b25d0792826c8271c226d2f54da0231f3780182;hp=e6a1c2101b78f8ed8567cc080d7659b2be912dab;hb=91b9cd9442b6ac81f4affb8b5b4b91ed0d11dcd2;hpb=55c18cfca44ed18e9501ddbde3a3361b4f377739 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");