summaryrefslogtreecommitdiffstats
path: root/fs
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
parent36bbe34239f63377b5179ad32fd13cd71d6e1ba7 (diff)
downloadop-kernel-dev-b9179237e2b2b4d34b5821cca3db280ebbc8694a.zip
op-kernel-dev-b9179237e2b2b4d34b5821cca3db280ebbc8694a.tar.gz
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')
-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 f0b6d56..d0cb7cb 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) {
OpenPOWER on IntegriCloud