patch-2.4.22 linux-2.4.22/fs/nfs/nfsroot.c

Next file: linux-2.4.22/fs/nfs/write.c
Previous file: linux-2.4.22/fs/nfs/nfs3proc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/fs/nfs/nfsroot.c linux-2.4.22/fs/nfs/nfsroot.c
@@ -305,7 +305,7 @@
  */
 int __init nfs_root_setup(char *line)
 {
-	ROOT_DEV = MKDEV(UNNAMED_MAJOR, 255);
+	ROOT_DEV = MKDEV(NFS_MAJOR, NFS_MINOR);
 	if (line[0] == '/' || line[0] == ',' || (line[0] >= '0' && line[0] <= '9')) {
 		strncpy(nfs_root_name, line, sizeof(nfs_root_name));
 		nfs_root_name[sizeof(nfs_root_name)-1] = '\0';

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