dm raid: fix fall-through warning in rs_check_takeover() for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of 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:
Mike Snitzer <snitzer@redhat.com>
parent
87d5742b
Please register or sign in to comment