From: Chuck Lever Date: Thu, 29 Mar 2007 20:48:22 +0000 (-0400) Subject: NFS: switch NFSROOT to use new rpcbind client X-Git-Tag: v2.6.22-rc1~1035^2~11 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=df8b172a8880521396d2048ecef7e75df43b5bc4;p=powerpc.git 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 Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c index 75f819dc02..49d1008ce1 100644 --- a/fs/nfs/nfsroot.c +++ b/fs/nfs/nfsroot.c @@ -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", program, version, NIPQUAD(servaddr)); set_sockaddr(&sin, servaddr, 0); - return rpc_getport_external(&sin, program, version, proto); + return rpcb_getport_external(&sin, program, version, proto); }