NFS: switch NFSROOT to use new rpcbind client
It is arguable whether NFSROOT will support IPv6, and thus whether rpcb_getport_external needs to support rpcbind versions greater than 2. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
2608001420
commit
df8b172a88
|
@ -428,7 +428,7 @@ static int __init root_nfs_getport(int program, int version, int proto)
|
||||||
printk(KERN_NOTICE "Looking up port of RPC %d/%d on %u.%u.%u.%u\n",
|
printk(KERN_NOTICE "Looking up port of RPC %d/%d on %u.%u.%u.%u\n",
|
||||||
program, version, NIPQUAD(servaddr));
|
program, version, NIPQUAD(servaddr));
|
||||||
set_sockaddr(&sin, servaddr, 0);
|
set_sockaddr(&sin, servaddr, 0);
|
||||||
return rpc_getport_external(&sin, program, version, proto);
|
return rpcb_getport_external(&sin, program, version, proto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue