diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 4 |
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); | |||
548 | * @msg: RPC call parameters | 548 | * @msg: RPC call parameters |
549 | * @flags: RPC call flags | 549 | * @flags: RPC call flags |
550 | */ | 550 | */ |
551 | int rpc_call_sync(struct rpc_clnt *clnt, struct rpc_message *msg, int flags) | 551 | int rpc_call_sync(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags) |
552 | { | 552 | { |
553 | struct rpc_task *task; | 553 | struct rpc_task *task; |
554 | struct rpc_task_setup task_setup_data = { | 554 | struct rpc_task_setup task_setup_data = { |
@@ -579,7 +579,7 @@ EXPORT_SYMBOL_GPL(rpc_call_sync); | |||
579 | * @data: user call data | 579 | * @data: user call data |
580 | */ | 580 | */ |
581 | int | 581 | int |
582 | rpc_call_async(struct rpc_clnt *clnt, struct rpc_message *msg, int flags, | 582 | rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, |
583 | const struct rpc_call_ops *tk_ops, void *data) | 583 | const struct rpc_call_ops *tk_ops, void *data) |
584 | { | 584 | { |
585 | struct rpc_task *task; | 585 | struct rpc_task *task; |