mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
NFS: Fix the NFS users of rpc_restart_call()
Fix up those functions that depend on knowing whether or not rpc_restart_call is successful or not. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
f1f88fc7e8
commit
d05dd4e98f
2 changed files with 4 additions and 7 deletions
|
@ -446,9 +446,7 @@ out:
|
|||
nfs41_sequence_free_slot(res);
|
||||
return 1;
|
||||
out_retry:
|
||||
rpc_restart_call(task);
|
||||
/* FIXME: rpc_restart_call() should be made to return success/fail */
|
||||
if (task->tk_action == NULL)
|
||||
if (!rpc_restart_call(task))
|
||||
goto out;
|
||||
rpc_delay(task, NFS4_POLL_RETRY_MAX);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue