mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
NFS: Get rid of nfs_restart_rpc()
It can trivially be replaced with rpc_restart_call_prepare. Signed-off-by: Trond Myklebust <[email protected]>
This commit is contained in:
parent
b8ef70639b
commit
d00c5d4386
7 changed files with 19 additions and 34 deletions
|
|
@ -850,7 +850,9 @@ rpc_restart_call_prepare(struct rpc_task *task)
|
|||
{
|
||||
if (RPC_ASSASSINATED(task))
|
||||
return 0;
|
||||
task->tk_action = rpc_prepare_task;
|
||||
task->tk_action = call_start;
|
||||
if (task->tk_ops->rpc_call_prepare != NULL)
|
||||
task->tk_action = rpc_prepare_task;
|
||||
return 1;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rpc_restart_call_prepare);
|
||||
|
|
|
|||
Loading…
Reference in a new issue