summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorTrond Myklebust2006-03-20 19:44:47 +0100
committerTrond Myklebust2006-03-20 19:44:47 +0100
commit51581f3bf922512880f52a7777923fd6dcfc792b (patch)
tree91e9c6c6a89705e76ec07574d296967c3bde24a9 /fs/nfs/nfs4state.c
parentNFSv4: Send the delegation stateid for SETATTR calls (diff)
downloadkernel-qcow2-linux-51581f3bf922512880f52a7777923fd6dcfc792b.tar.gz
kernel-qcow2-linux-51581f3bf922512880f52a7777923fd6dcfc792b.tar.xz
kernel-qcow2-linux-51581f3bf922512880f52a7777923fd6dcfc792b.zip
NFSv4: SETCLIENTID_CONFIRM should handle NFS4ERR_DELAY/NFS4ERR_RESOURCE
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index afad0255e7db..96e5b82c153b 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -977,6 +977,7 @@ out:
out_error:
printk(KERN_WARNING "Error: state recovery failed on NFSv4 server %u.%u.%u.%u with error %d\n",
NIPQUAD(clp->cl_addr.s_addr), -status);
+ set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state);
goto out;
}