diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-06-17 21:02:11 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-06-17 21:02:11 -0400 |
commit | 99835db430904e90c0640ebc6b91cd2a90a118f7 (patch) | |
tree | cdfd363df9bf7e95f29afbdc4a4ef16290194faf /fs/nfs/mount_clnt.c | |
parent | 29a1bd6bf8c7a9ff511aaaf7e40fd6ca5198babe (diff) |
NFS: remove unused function in fs/nfs/mount_clnt.c
Clean up: remove xdr_encode_dirpath() now that it has been replaced.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
-rw-r--r-- | fs/nfs/mount_clnt.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c index 93361afcd5da..79b5954b8a1b 100644 --- a/fs/nfs/mount_clnt.c +++ b/fs/nfs/mount_clnt.c | |||
@@ -141,14 +141,6 @@ out_mnt_err: | |||
141 | /* | 141 | /* |
142 | * XDR encode/decode functions for MOUNT | 142 | * XDR encode/decode functions for MOUNT |
143 | */ | 143 | */ |
144 | static int xdr_encode_dirpath(struct rpc_rqst *req, __be32 *p, | ||
145 | const char *path) | ||
146 | { | ||
147 | p = xdr_encode_string(p, path); | ||
148 | |||
149 | req->rq_slen = xdr_adjust_iovec(req->rq_svec, p); | ||
150 | return 0; | ||
151 | } | ||
152 | 144 | ||
153 | static int encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) | 145 | static int encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) |
154 | { | 146 | { |