aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-12-04 15:55:32 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-04 15:55:32 -0500
commitb9179237e2b2b4d34b5821cca3db280ebbc8694a (patch)
treee55d4e02088cd5b46f041a455fcd98b7e969f867 /fs/nfs
parentnfs41: free the slot on unhandled read errors (diff)
downloadlinux-dev-b9179237e2b2b4d34b5821cca3db280ebbc8694a.tar.xz
linux-dev-b9179237e2b2b4d34b5821cca3db280ebbc8694a.zip
nfs41: fix switch in nfs4_handle_exception
Do not fall through and call nfs4_delay on session error handling. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index f0b6d569a50a..d0cb7cb367c1 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -272,7 +272,7 @@ static int nfs4_handle_exception(const struct nfs_server *server, int errorcode,
errorcode);
set_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state);
exception->retry = 1;
- /* FALLTHROUGH */
+ break;
#endif /* !defined(CONFIG_NFS_V4_1) */
case -NFS4ERR_FILE_OPEN:
if (exception->timeout > HZ) {