*** empty log message ***
[yaffs/.git] / yaffs_fs.c
index de7ee00f00b2d869c9f80a00187ca4acdb73c150..6ef58ada7b1954913bc70dbc1262df260031174b 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 
-const char *yaffs_fs_c_version = "$Id: yaffs_fs.c,v 1.23 2003-01-17 04:19:08 charles Exp $";
+const char *yaffs_fs_c_version = "$Id: yaffs_fs.c,v 1.26 2003-05-20 23:20:53 charles Exp $";
 extern const char *yaffs_guts_c_version;
 
 
@@ -1130,7 +1130,7 @@ static struct super_block *yaffs_internal_read_super(int useRam, struct super_bl
        T(YAFFS_TRACE_OS,("yaffs_read_super: %s block size %d\n", useRam ? "RAM" : "MTD",(int)(sb->s_blocksize)));
 
 #ifdef CONFIG_YAFFS_DISABLE_WRITE_VERIFY
-       T(YAFFS_TRACE_OS,("yaffs: Write verification disabled. All guarantees null and void\n");
+       T(YAFFS_TRACE_OS,("yaffs: Write verification disabled. All guarantees null and void\n"));
 #endif
 
 
@@ -1157,6 +1157,7 @@ static struct super_block *yaffs_internal_read_super(int useRam, struct super_bl
                dev->endBlock = nBlocks - 1;
                dev->nChunksPerBlock = YAFFS_CHUNKS_PER_BLOCK;
                dev->nBytesPerChunk = YAFFS_BYTES_PER_CHUNK;
+               dev->nReservedBlocks = 5;
 
                dev->writeChunkToNAND = nandemul_WriteChunkToNAND;
                dev->readChunkFromNAND = nandemul_ReadChunkFromNAND;
@@ -1243,6 +1244,8 @@ static struct super_block *yaffs_internal_read_super(int useRam, struct super_bl
                dev->endBlock = nBlocks - 1;
                dev->nChunksPerBlock = YAFFS_CHUNKS_PER_BLOCK;
                dev->nBytesPerChunk = YAFFS_BYTES_PER_CHUNK;
+               dev->nReservedBlocks = 5;
+               dev->nShortOpCaches = 10; // Enable short op caching
                
 
                // ... and the functions.