nfs: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:26:46 +0000 (12:26 -0600)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 1 Feb 2021 18:32:32 +0000 (13:32 -0500)
commitffb81717a166b3c4a676ada61283b3121448e503
tree16d1439c3fcf8c9c0ebfe27fd2ba200b57384762
parent93f479d3ad05497f29f2bed58e4a6c6a4f0a548c
nfs: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly add multiple break/goto/return/fallthrough
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: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs3acl.c
fs/nfs/nfs4client.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c
fs/nfs/pnfs.c