Hook wide tnode support into Linux
[yaffs2.git] / yaffs_fs.c
index 02d6b82197e101a89a286068c4fcbd7f5b138024..f97455b00a71453ca5c654f5c5565fab10f6a2b3 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 const char *yaffs_fs_c_version =
-    "$Id: yaffs_fs.c,v 1.34 2005-11-14 21:00:54 charles Exp $";
+    "$Id: yaffs_fs.c,v 1.35 2005-12-07 22:19:26 charles Exp $";
 extern const char *yaffs_guts_c_version;
 
 #include <linux/config.h>
@@ -1465,6 +1465,10 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion,
        dev->useNANDECC = 1;
 #endif
 
+#ifdef CONFIG_YAFFS_DISABLE_WIDE_TNODES
+       dev->wideTnodesDisabled = 1;
+#endif
+
        /* we assume this is protected by lock_kernel() in mount/umount */
        list_add_tail(&dev->devList, &yaffs_dev_list);