]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e1187c17416a1fd6206223e5a2bf2b9588d36c7
tree9cecdef2d451791e17f19c867d6fa7d969c51931
parentd7f702a176c35157cee5528d0d7c05f81c18e84e
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