diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-29 08:48:05 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-29 08:48:05 +0100 |
commit | cdd0972945dbcb8ea24db365d9b0e100af2a27bb (patch) | |
tree | d41204db20ccc81cecf99a332e2fa764075e8637 /include | |
parent | SUNRPC: Remove now-redundant RCU-safe rpc_task free path (diff) | |
parent | SUNRPC: Declare as const the rpc_message arguments to rpc_call_sync/async (diff) | |
download | linux-cdd0972945dbcb8ea24db365d9b0e100af2a27bb.tar.xz linux-cdd0972945dbcb8ea24db365d9b0e100af2a27bb.zip |
Merge branch 'cleanups' into next
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 129a86e25d29..6fff7f82ef12 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h @@ -127,11 +127,12 @@ int rpcb_getport_sync(struct sockaddr_in *, u32, u32, int); void rpcb_getport_async(struct rpc_task *); void rpc_call_start(struct rpc_task *); -int rpc_call_async(struct rpc_clnt *clnt, struct rpc_message *msg, - int flags, const struct rpc_call_ops *tk_ops, +int rpc_call_async(struct rpc_clnt *clnt, + const struct rpc_message *msg, int flags, + const struct rpc_call_ops *tk_ops, void *calldata); -int rpc_call_sync(struct rpc_clnt *clnt, struct rpc_message *msg, - int flags); +int rpc_call_sync(struct rpc_clnt *clnt, + const struct rpc_message *msg, int flags); struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int flags); void rpc_restart_call(struct rpc_task *); |