diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-09-25 16:13:43 +1200 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-09-25 16:13:43 +1200 |
commit | 91b9cd9442b6ac81f4affb8b5b4b91ed0d11dcd2 (patch) | |
tree | 5072a6ea04d5d79887657b905ace394bd0146f88 /yaffs_vfs_multi.c | |
parent | 55c18cfca44ed18e9501ddbde3a3361b4f377739 (diff) |
yaffs Clean up some code
Clean up some code. eg remove some conditional compilation
and obsolete code.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_vfs_multi.c')
-rw-r--r-- | yaffs_vfs_multi.c | 5 |
1 files changed, 5 insertions, 0 deletions
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"); |