]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Ensure call_connect_status() deals correctly with SOFTCONN tasks
authorSteve Dickson <steved@redhat.com>
Thu, 20 Mar 2014 15:23:03 +0000 (11:23 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Mar 2014 15:46:52 +0000 (11:46 -0400)
commitb6f3baf52125396cabd49d9baf70429c24b67677
treecdb7eaf7b15855b4028ded86c2b38aa179ef7377
parent8b5b9844563e4b5c6b695b674f3806237c341db4
SUNRPC: Ensure call_connect_status() deals correctly with SOFTCONN tasks

Don't schedule an rpc_delay before checking to see if the task
is a SOFTCONN because the tk_callback from the delay (__rpc_atrun)
clears the task status before the rpc_exit_task can be run.

Signed-off-by: Steve Dickson <steved@redhat.com>
Fixes: 183ca55d26fc3 (SUNRPC: call_connect_status should recheck...)
Link: http://lkml.kernel.org/r/5329CF7C.7090308@RedHat.com
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/clnt.c