aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-01 14:43:38 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-05 18:30:49 -0500
commitfd0c09537a8494e9dccf3856b90058e1f97f1d62 (patch)
tree57b9e47a0669dc3e8871504b189b913e1ffcc809 /fs/nfs/internal.h
parentd9afbd1b0889e7da6742e9c67ccc7becc4161f65 (diff)
NFSv4: Simplify the NFSv4/v4.1 synchronous call switch
We shouldn't need to pass the 'cache_reply' parameter if we initialise the sequence_args/sequence_res in the caller. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 9bdbfc3884a9..fb994471bd32 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -451,18 +451,6 @@ extern struct nfs_client *nfs4_init_client(struct nfs_client *clp,
451 const struct rpc_timeout *timeparms, 451 const struct rpc_timeout *timeparms,
452 const char *ip_addr, 452 const char *ip_addr,
453 rpc_authflavor_t authflavour); 453 rpc_authflavor_t authflavour);
454extern int _nfs4_call_sync(struct rpc_clnt *clnt,
455 struct nfs_server *server,
456 struct rpc_message *msg,
457 struct nfs4_sequence_args *args,
458 struct nfs4_sequence_res *res,
459 int cache_reply);
460extern int _nfs4_call_sync_session(struct rpc_clnt *clnt,
461 struct nfs_server *server,
462 struct rpc_message *msg,
463 struct nfs4_sequence_args *args,
464 struct nfs4_sequence_res *res,
465 int cache_reply);
466extern int nfs40_walk_client_list(struct nfs_client *clp, 454extern int nfs40_walk_client_list(struct nfs_client *clp,
467 struct nfs_client **result, 455 struct nfs_client **result,
468 struct rpc_cred *cred); 456 struct rpc_cred *cred);