patch-2.3.2 linux/init/main.c

Next file: linux/kernel/ksyms.c
Previous file: linux/include/video/fbcon-vga-planes.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.1/linux/init/main.c linux/init/main.c
@@ -1332,21 +1332,6 @@
 	/* Mount the root filesystem.. */
 	mount_root();
 
-#ifdef CONFIG_UMSDOS_FS
-	{
-		/*
-			When mounting a umsdos fs as root, we detect
-			the pseudo_root (/linux) and initialise it here.
-			pseudo_root is defined in fs/umsdos/inode.c
-		*/
-		extern struct inode *pseudo_root;
-		if (pseudo_root != NULL){
-			current->fs->root = pseudo_root->i_sb->s_root;
-			current->fs->pwd  = pseudo_root->i_sb->s_root;
-		}
-	}
-#endif
-
 #ifdef CONFIG_BLK_DEV_INITRD
 	root_mountflags = real_root_mountflags;
 	if (mount_initrd && ROOT_DEV != real_root_dev

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)