gfs2: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:25:03 +0000 (12:25 -0600)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 20 Apr 2021 20:38:21 +0000 (22:38 +0200)
commite5966cf20f0c7e40fd8c208ba1614e1a35a8deee
tree9cecdef2d451791e17f19c867d6fa7d969c51931
parentc551f66c5dfefd00687f7567183fec6889ba46a3
gfs2: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple goto 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: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/inode.c
fs/gfs2/recovery.c