nfs41: fix switch in nfs4_handle_exception
authorAndy Adamson <andros@netapp.com>
Fri, 4 Dec 2009 20:55:32 +0000 (15:55 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Dec 2009 20:55:32 +0000 (15:55 -0500)
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>
fs/nfs/nfs4proc.c

index f0b6d569a50afbd8908cdb189a4b8cb348053d05..d0cb7cb367c1cf79cd748d4b935646c7c10eb561 100644 (file)
@@ -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) {