aboutsummaryrefslogtreecommitdiffstats
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)
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 43c86b7556e1..ef22ee89aa77 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,
125 mountdata->addr, mountdata->addrlen); 125 mountdata->addr, mountdata->addrlen);
126 if (mountdata->addrlen == 0) 126 if (mountdata->addrlen == 0)
127 continue; 127 continue;
128 nfs_set_port(mountdata->addr, NFS_PORT); 128 rpc_set_port(mountdata->addr, NFS_PORT);
129 129
130 memcpy(page2, buf->data, buf->len); 130 memcpy(page2, buf->data, buf->len);
131 page2[buf->len] = '\0'; 131 page2[buf->len] = '\0';