]> err.no Git - linux-2.6/commitdiff
NFS: switch NFSROOT to use new rpcbind client
authorChuck Lever <chuck.lever@oracle.com>
Thu, 29 Mar 2007 20:48:22 +0000 (16:48 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 May 2007 05:17:14 +0000 (22:17 -0700)
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>
fs/nfs/nfsroot.c

index 75f819dc025575dda5426aca05f6f128e20f3dba..49d1008ce1d702c8307249f4a1e1e94d389e72b0 100644 (file)
@@ -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);
 }