summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-12-04 21:55:34 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-04 21:55:34 +0100
commit8ba9bf8e5160b0b4ebc56f64ad445c6c0ecdac1d (patch)
treebee5b90cc35392ed9e2281a09e1aa97ec881a7e8 /fs/nfs/nfs4state.c
parentnfs41: fix switch in nfs4_handle_exception (diff)
downloadlinux-8ba9bf8e5160b0b4ebc56f64ad445c6c0ecdac1d.tar.xz
linux-8ba9bf8e5160b0b4ebc56f64ad445c6c0ecdac1d.zip
nfs41: fix switch in nfs4_recovery_handle_error
Do not fall through and set NFS4CLNT_SESSION_RESET bit on NFS4ERR_EXPIRED Signed-off-by: Andy Adamson <andros@netapp.com> 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 902d8749bde4..f56f6be5e314 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -1085,6 +1085,7 @@ static int nfs4_recovery_handle_error(struct nfs_client *clp, int error)
case -NFS4ERR_EXPIRED:
set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state);
nfs4_state_start_reclaim_nograce(clp);
+ break;
case -NFS4ERR_BADSESSION:
case -NFS4ERR_BADSLOT:
case -NFS4ERR_BAD_HIGH_SLOT: