aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r--net/sunrpc/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index c0365c14b858..9358c79fd589 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -250,7 +250,7 @@ void rpc_destroy_wait_queue(struct rpc_wait_queue *queue)
250} 250}
251EXPORT_SYMBOL_GPL(rpc_destroy_wait_queue); 251EXPORT_SYMBOL_GPL(rpc_destroy_wait_queue);
252 252
253static int rpc_wait_bit_killable(void *word) 253static int rpc_wait_bit_killable(struct wait_bit_key *key)
254{ 254{
255 if (fatal_signal_pending(current)) 255 if (fatal_signal_pending(current))
256 return -ERESTARTSYS; 256 return -ERESTARTSYS;
@@ -309,7 +309,7 @@ static int rpc_complete_task(struct rpc_task *task)
309 * to enforce taking of the wq->lock and hence avoid races with 309 * to enforce taking of the wq->lock and hence avoid races with
310 * rpc_complete_task(). 310 * rpc_complete_task().
311 */ 311 */
312int __rpc_wait_for_completion_task(struct rpc_task *task, int (*action)(void *)) 312int __rpc_wait_for_completion_task(struct rpc_task *task, wait_bit_action_f *action)
313{ 313{
314 if (action == NULL) 314 if (action == NULL)
315 action = rpc_wait_bit_killable; 315 action = rpc_wait_bit_killable;