|
@@ -465,10 +465,11 @@ static int __init root_nfs_ports(void)
|
|
"number from server, using default\n");
|
|
"number from server, using default\n");
|
|
port = nfsd_port;
|
|
port = nfsd_port;
|
|
}
|
|
}
|
|
- nfs_port = htons(port);
|
|
|
|
|
|
+ nfs_port = port;
|
|
dprintk("Root-NFS: Portmapper on server returned %d "
|
|
dprintk("Root-NFS: Portmapper on server returned %d "
|
|
"as nfsd port\n", port);
|
|
"as nfsd port\n", port);
|
|
}
|
|
}
|
|
|
|
+ nfs_port = htons(nfs_port);
|
|
|
|
|
|
if ((port = root_nfs_getport(NFS_MNT_PROGRAM, mountd_ver, proto)) < 0) {
|
|
if ((port = root_nfs_getport(NFS_MNT_PROGRAM, mountd_ver, proto)) < 0) {
|
|
printk(KERN_ERR "Root-NFS: Unable to get mountd port "
|
|
printk(KERN_ERR "Root-NFS: Unable to get mountd port "
|