X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_fs.c;h=6eb356c81e6e4276c0ca88813e7b83082b788bd9;hp=07ff66e13e9c965b842b47459df59d2d27dca369;hb=6db5aca55acb7c8af07c8ec90ba8dd9085ab0895;hpb=f2aa39bdf4996729001cb2a6e98d34eda832b9be diff --git a/yaffs_fs.c b/yaffs_fs.c index 07ff66e..6eb356c 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -2648,7 +2648,7 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion, #ifdef CONFIG_YAFFS_DISABLE_BLOCK_REFRESHING param->refreshPeriod = 0; #else - param->refreshPeriod = 100; + param->refreshPeriod = 500; #endif if(options.empty_lost_and_found_overridden) @@ -3178,6 +3178,14 @@ static int __init init_yaffs_fs(void) T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs built " __DATE__ " " __TIME__ " Installing. \n"))); +#ifdef CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED + T(YAFFS_TRACE_ALWAYS, + (TSTR(" \n\n\n\nYAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.\n\n\n\n"))); +#endif + + + + init_MUTEX(&yaffs_context_lock); /* Install the proc_fs entries */