diff options
author | Andy Adamson <andros@netapp.com> | 2009-12-04 15:55:27 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-04 15:55:27 -0500 |
commit | 1d9ddde94aed01c4618cf6f70883cc511c3b2b62 (patch) | |
tree | 649a4f8f59f6408746dadb6588ec2d558556b15f /fs/nfs | |
parent | 6df08189ffd33d8357759561dba49d25c0335858 (diff) |
nfs41: nfs4_get_lease_time will never session reset
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index ff1c7344e086..a23110d1d2a9 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -4408,7 +4408,7 @@ static void nfs4_get_lease_time_done(struct rpc_task *task, void *calldata) | |||
4408 | dprintk("%s Retry: tk_status %d\n", __func__, task->tk_status); | 4408 | dprintk("%s Retry: tk_status %d\n", __func__, task->tk_status); |
4409 | rpc_delay(task, NFS4_POLL_RETRY_MIN); | 4409 | rpc_delay(task, NFS4_POLL_RETRY_MIN); |
4410 | task->tk_status = 0; | 4410 | task->tk_status = 0; |
4411 | nfs4_restart_rpc(task, data->clp); | 4411 | rpc_restart_call(task); |
4412 | return; | 4412 | return; |
4413 | } | 4413 | } |
4414 | nfs41_sequence_free_slot(data->clp, &data->res->lr_seq_res); | 4414 | nfs41_sequence_free_slot(data->clp, &data->res->lr_seq_res); |