patch-2.1.43 linux/fs/ext2/super.c

Next file: linux/fs/ext2/symlink.c
Previous file: linux/fs/ext2/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/fs/ext2/super.c linux/fs/ext2/super.c
@@ -319,6 +319,13 @@
 			ext2_check_inodes_bitmap (sb);
 		}
 	}
+#if 0 /* ibasket's still have unresolved bugs... -DaveM */
+
+	/* [T. Schoebel-Theuer] This limit should be maintained on disk.
+	 * This is just provisionary.
+	 */
+	sb->s_ibasket_max = 100;
+#endif
 }
 
 static int ext2_check_descriptors (struct super_block * sb)
@@ -728,7 +735,10 @@
 }
 
 static struct file_system_type ext2_fs_type = {
-        ext2_read_super, "ext2", 1, NULL
+	"ext2", 
+	FS_REQUIRES_DEV /* | FS_IBASKET */,	/* ibaskets have unresolved bugs */
+        ext2_read_super, 
+	NULL
 };
 
 __initfunc(int init_ext2_fs(void))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov