diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 051a573b86ea7e4dd9ad85a539f6efd676a137f4..9f100b39cb0aff684fee70e01b23d2148cb74d6e 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -3080,6 +3080,11 @@ static struct nfs4_state *nfs4_do_open(struct inode *dir, exception.retry = 1; continue; } + if (status == -NFS4ERR_EXPIRED) { + nfs4_schedule_lease_recovery(server->nfs_client); + exception.retry = 1; + continue; + } if (status == -EAGAIN) { /* We must have found a delegation */ exception.retry = 1;