summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust2008-02-22 21:09:26 +0100
committerTrond Myklebust2008-02-26 06:40:39 +0100
commitfde95c7554aa77f9a242f32b0b5f8f15395abf52 (patch)
tree293e0161eb30e1e87a305d07e57f54f483655b78 /net/sunrpc/xprt.c
parentNFS: Ensure that the asynchronous RPC calls complete on nfsiod. (diff)
downloadkernel-qcow2-linux-fde95c7554aa77f9a242f32b0b5f8f15395abf52.tar.gz
kernel-qcow2-linux-fde95c7554aa77f9a242f32b0b5f8f15395abf52.tar.xz
kernel-qcow2-linux-fde95c7554aa77f9a242f32b0b5f8f15395abf52.zip
SUNRPC: Clean up rpc_run_timer()
All RPC timeout callback functions are expected to wake the task up. We can enforce this by moving the wakeup back into rpc_run_timer. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r--net/sunrpc/xprt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index d5553b8179f9..96c212ddc41a 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -777,8 +777,6 @@ static void xprt_timer(struct rpc_task *task)
xprt->ops->timer(task);
task->tk_status = -ETIMEDOUT;
}
- task->tk_timeout = 0;
- rpc_wake_up_task(task);
spin_unlock(&xprt->transport_lock);
}