Skip to content

Commit

Permalink
NFS: remove unused function in fs/nfs/mount_clnt.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jun 18, 2009
1 parent 29a1bd6 commit 99835db
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions fs/nfs/mount_clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,6 @@ int nfs_mount(struct nfs_mount_request *info)
/*
* XDR encode/decode functions for MOUNT
*/
static int xdr_encode_dirpath(struct rpc_rqst *req, __be32 *p,
const char *path)
{
p = xdr_encode_string(p, path);

req->rq_slen = xdr_adjust_iovec(req->rq_svec, p);
return 0;
}

static int encode_mntdirpath(struct xdr_stream *xdr, const char *pathname)
{
Expand Down

0 comments on commit 99835db

Please sign in to comment.