*** linux-2.4.11-pre4/fs/super.c Sat Oct 6 01:24:54 2001 --- linux-2.4.11-pre4-ext3/fs/super.c Sat Oct 6 01:27:12 2001 *************** *** 883,888 **** --- 883,899 ---- return do_kern_mount((char *)type->name, 0, (char *)type->name, NULL); } + static char *root_mount_data; + static int __init root_data_setup(char *line) + { + static char buffer[128]; + + strcpy(buffer, line); + root_mount_data = buffer; + return 1; + } + __setup("rootflags=", root_data_setup); + void __init mount_root(void) { struct nameidata root_nd; *************** *** 1017,1023 **** if (!try_inc_mod_count(fs_type->owner)) continue; read_unlock(&file_systems_lock); ! sb = read_super(ROOT_DEV,bdev,fs_type,root_mountflags,NULL,1); if (sb) goto mount_it; read_lock(&file_systems_lock); --- 1028,1035 ---- if (!try_inc_mod_count(fs_type->owner)) continue; read_unlock(&file_systems_lock); ! sb = read_super(ROOT_DEV,bdev,fs_type,root_mountflags, ! root_mount_data,1); if (sb) goto mount_it; read_lock(&file_systems_lock);