summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-02-29 08:48:05 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-02-29 08:48:05 +0100
commitcdd0972945dbcb8ea24db365d9b0e100af2a27bb (patch)
treed41204db20ccc81cecf99a332e2fa764075e8637 /net/sunrpc/clnt.c
parentSUNRPC: Remove now-redundant RCU-safe rpc_task free path (diff)
parentSUNRPC: Declare as const the rpc_message arguments to rpc_call_sync/async (diff)
downloadlinux-cdd0972945dbcb8ea24db365d9b0e100af2a27bb.tar.xz
linux-cdd0972945dbcb8ea24db365d9b0e100af2a27bb.zip
Merge branch 'cleanups' into next
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index 0e209af39797..ea14314331b0 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -548,7 +548,7 @@ EXPORT_SYMBOL_GPL(rpc_run_task);
* @msg: RPC call parameters
* @flags: RPC call flags
*/
-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 *task;
struct rpc_task_setup task_setup_data = {
@@ -579,7 +579,7 @@ EXPORT_SYMBOL_GPL(rpc_call_sync);
* @data: user call data
*/
int
-rpc_call_async(struct rpc_clnt *clnt, struct rpc_message *msg, int flags,
+rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags,
const struct rpc_call_ops *tk_ops, void *data)
{
struct rpc_task *task;