diff options
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r-- | fs/nfs/nfs4state.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index b924bdd69494..1eb17285c99a 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -1739,6 +1739,10 @@ static int nfs4_check_lease(struct nfs_client *clp) | |||
1739 | } | 1739 | } |
1740 | status = ops->renew_lease(clp, cred); | 1740 | status = ops->renew_lease(clp, cred); |
1741 | put_rpccred(cred); | 1741 | put_rpccred(cred); |
1742 | if (status == -ETIMEDOUT) { | ||
1743 | set_bit(NFS4CLNT_CHECK_LEASE, &clp->cl_state); | ||
1744 | return 0; | ||
1745 | } | ||
1742 | out: | 1746 | out: |
1743 | return nfs4_recovery_handle_error(clp, status); | 1747 | return nfs4_recovery_handle_error(clp, status); |
1744 | } | 1748 | } |