diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 21:26:46 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-02-01 21:32:32 +0300 |
commit | ffb81717a166b3c4a676ada61283b3121448e503 (patch) | |
tree | 16d1439c3fcf8c9c0ebfe27fd2ba200b57384762 /fs/nfs/nfs4client.c | |
parent | 93f479d3ad05497f29f2bed58e4a6c6a4f0a548c (diff) | |
download | linux-ffb81717a166b3c4a676ada61283b3121448e503.tar.xz |
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>
Diffstat (limited to 'fs/nfs/nfs4client.c')
-rw-r--r-- | fs/nfs/nfs4client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index 86acffe7335c..889a9f4c0310 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c @@ -609,6 +609,7 @@ found: * changed. Schedule recovery! */ nfs4_schedule_path_down_recovery(pos); + goto out; default: goto out; } |