diff options
author | Andy Adamson <andros@netapp.com> | 2009-12-04 15:55:32 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-04 15:55:32 -0500 |
commit | b9179237e2b2b4d34b5821cca3db280ebbc8694a (patch) | |
tree | e55d4e02088cd5b46f041a455fcd98b7e969f867 /fs | |
parent | 36bbe34239f63377b5179ad32fd13cd71d6e1ba7 (diff) |
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.c | 2 |
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, | |||
272 | errorcode); | 272 | errorcode); |
273 | set_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state); | 273 | set_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state); |
274 | exception->retry = 1; | 274 | exception->retry = 1; |
275 | /* FALLTHROUGH */ | 275 | break; |
276 | #endif /* !defined(CONFIG_NFS_V4_1) */ | 276 | #endif /* !defined(CONFIG_NFS_V4_1) */ |
277 | case -NFS4ERR_FILE_OPEN: | 277 | case -NFS4ERR_FILE_OPEN: |
278 | if (exception->timeout > HZ) { | 278 | if (exception->timeout > HZ) { |