summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4namespace.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-08-09 15:09:37 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-08-09 15:09:37 -0400
commitec6ee61250acfccbc5578dd4014735fb2cbe53b5 (patch)
tree90c93d506b82d7c67ed8208410a1024e872f9c8d /fs/nfs/nfs4namespace.c
parent53a0b9c4c99ab0085a06421f71592722e5b3fd5f (diff)
downloadop-kernel-dev-ec6ee61250acfccbc5578dd4014735fb2cbe53b5.zip
op-kernel-dev-ec6ee61250acfccbc5578dd4014735fb2cbe53b5.tar.gz
NFS: Replace nfs_set_port() with rpc_set_port()
Clean up. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
-rw-r--r--fs/nfs/nfs4namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c
index 43c86b75..ef22ee8 100644
--- a/fs/nfs/nfs4namespace.c
+++ b/fs/nfs/nfs4namespace.c
@@ -125,7 +125,7 @@ static struct vfsmount *try_location(struct nfs_clone_mount *mountdata,
mountdata->addr, mountdata->addrlen);
if (mountdata->addrlen == 0)
continue;
- nfs_set_port(mountdata->addr, NFS_PORT);
+ rpc_set_port(mountdata->addr, NFS_PORT);
memcpy(page2, buf->data, buf->len);
page2[buf->len] = '\0';
OpenPOWER on IntegriCloud