diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 19:26:40 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-04-20 22:55:07 +0200 |
commit | 76c50eb70d8e1133eaada0013845619c36345fbc (patch) | |
tree | 70cbb982b452fcfc8bc31b8f41475691bc111c24 /fs/nfsd/nfs4state.c | |
parent | nfsd: grant read delegations to clients holding writes (diff) | |
download | linux-76c50eb70d8e1133eaada0013845619c36345fbc.tar.xz linux-76c50eb70d8e1133eaada0013845619c36345fbc.zip |
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>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 7364af580d83..b517a8794400 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -3139,6 +3139,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, goto out_nolock; } new->cl_mach_cred = true; + break; case SP4_NONE: break; default: /* checked by xdr code */ |