* >> inode->u.generic_ip points to the associated yaffs_Object.
*/
+/*
+ * There are two variants of the VFS glue code. This variant should compile
+ * for any version of Linux.
+ */
#include <linux/version.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 10))
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;
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");