From: Andy Adamson Date: Fri, 4 Dec 2009 20:55:32 +0000 (-0500) Subject: nfs41: fix switch in nfs4_handle_exception X-Git-Tag: v2.6.33-rc1~287^2^2~37 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b9179237e2b2b4d34b5821cca3db280ebbc8694a;p=karo-tx-linux.git nfs41: fix switch in nfs4_handle_exception Do not fall through and call nfs4_delay on session error handling. Signed-off-by: Andy Adamson Signed-off-by: Trond Myklebust --- 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) {