aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-07-31 14:29:07 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-08-03 22:06:44 -0400
commitd05dd4e98f0dd30ee933e05ac9363614c47df83a (patch)
tree1b117bc9ffae9cac6de629a85220593b718f4728 /fs/nfs/nfs4proc.c
parentf1f88fc7e818c6678c6799a2edb8f1aeccc124aa (diff)
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>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 101bf403f507..7ffbb98ddec3 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -446,9 +446,7 @@ out:
446 nfs41_sequence_free_slot(res); 446 nfs41_sequence_free_slot(res);
447 return 1; 447 return 1;
448out_retry: 448out_retry:
449 rpc_restart_call(task); 449 if (!rpc_restart_call(task))
450 /* FIXME: rpc_restart_call() should be made to return success/fail */
451 if (task->tk_action == NULL)
452 goto out; 450 goto out;
453 rpc_delay(task, NFS4_POLL_RETRY_MAX); 451 rpc_delay(task, NFS4_POLL_RETRY_MAX);
454 return 0; 452 return 0;