]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 5 Mar 2021 09:59:23 +0000 (03:59 -0600)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 27 Apr 2021 21:52:22 +0000 (23:52 +0200)
commite9ac253d897a0603c9dfc645437f0c7fddbf4637
tree4845e5dcdb9d51078437ad936ee1c218a2ee9ed7
parent309eefc16b27ec1a60dc0a12c9a040e0b5e3fcf5
ceph: fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding a break and a goto statements instead
of just letting the code fall through to the next case.

URL: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/dir.c