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
- Lines: 9
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/fs/nfs/nfsroot.c
- Orig date:
2003-06-13 07:51:37.000000000 -0700
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)