projects
/
wrapfs-2.6.34.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065f8f7
)
NFSv4: Ensure the state manager handles NFS4ERR_NO_GRACE correctly
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 3 Dec 2009 20:53:21 +0000
(15:53 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:28:48 +0000
(11:28 -0800)
commit
c8b7ae3d3221536228260757444ee10c6d71793f
upstream.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4state.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4state.c
b/fs/nfs/nfs4state.c
index 6aea9f6e48f8bc06a43a151faba9b1366506e668..2a7f163cfd704bd49ca376b8b3b4b89b65dcad2a 100644
(file)
--- a/
fs/nfs/nfs4state.c
+++ b/
fs/nfs/nfs4state.c
@@
-1057,6
+1057,9
@@
static int nfs4_recovery_handle_error(struct nfs_client *clp, int error)
case -NFS4ERR_CB_PATH_DOWN:
nfs_handle_cb_pathdown(clp);
return 0;
+ case -NFS4ERR_NO_GRACE:
+ nfs4_state_end_reclaim_reboot(clp);
+ return 0;
case -NFS4ERR_STALE_CLIENTID:
case -NFS4ERR_LEASE_MOVED:
set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state);