nfs41: nfs4_get_lease_time will never session reset
authorAndy Adamson <andros@netapp.com>
Fri, 4 Dec 2009 20:55:27 +0000 (15:55 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Dec 2009 20:55:27 +0000 (15:55 -0500)
Make this clear by calling rpc_restart-call.
Prepare for nfs4_restart_rpc() to free slots.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c

index ff1c7344e08667ceb6620af7acc09d41056e0307..a23110d1d2a99b1148507df9d4df53f1876867d0 100644 (file)
@@ -4408,7 +4408,7 @@ static void nfs4_get_lease_time_done(struct rpc_task *task, void *calldata)
                dprintk("%s Retry: tk_status %d\n", __func__, task->tk_status);
                rpc_delay(task, NFS4_POLL_RETRY_MIN);
                task->tk_status = 0;
-               nfs4_restart_rpc(task, data->clp);
+               rpc_restart_call(task);
                return;
        }
        nfs41_sequence_free_slot(data->clp, &data->res->lr_seq_res);