nfsd: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:26:40 +0000 (12:26 -0600)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 20 Apr 2021 20:55:07 +0000 (16:55 -0400)
commit76c50eb70d8e1133eaada0013845619c36345fbc
tree70cbb982b452fcfc8bc31b8f41475691bc111c24
parentaba2072f452346d56a462718bcde93d697383148
nfsd: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding a couple of break statements instead of
just letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfsctl.c