patch-1.3.73 linux/fs/filesystems.c

Next file: linux/fs/inode.c
Previous file: linux/fs/fifo.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.72/linux/fs/filesystems.c linux/fs/filesystems.c
@@ -27,12 +27,6 @@
 extern void device_setup(void);
 extern void binfmt_setup(void);
 
-#ifdef CONFIG_ROOT_NFS
-extern int nfs_root_init(char *nfsname, char *nfsaddrs);
-extern char nfs_root_name [];
-extern char nfs_root_addrs [];
-#endif
-
 /* This may be used only once, enforced by 'static int callable' */
 asmlinkage int sys_setup(void)
 {
@@ -104,15 +98,6 @@
 
 #ifdef CONFIG_HPFS_FS
 	init_hpfs_fs();
-#endif
-
-#ifdef CONFIG_ROOT_NFS
-	if (ROOT_DEV == MKDEV(UNNAMED_MAJOR, 255)) {
-		if (nfs_root_init(nfs_root_name, nfs_root_addrs) < 0) {
-			printk(KERN_ERR "Root-NFS: Unable to contact NFS server for root fs, using /dev/fd0 instead\n");
-			ROOT_DEV = MKDEV(FLOPPY_MAJOR, 0);
-		}
-	}
 #endif
 
 	mount_root();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this