Whamcloud - gitweb
LU-15220 lustre: use 'fallthrough' pseudo keyword for switch 69/46269/3
authorJian Yu <yujian@whamcloud.com>
Sun, 23 Jan 2022 02:21:04 +0000 (18:21 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Jan 2022 05:17:26 +0000 (05:17 +0000)
commit5549b1b9e032c6eae63c9bde7104769697b93a0f
tree323ea9c31d565b5850c4790621de4e830feffc7c
parent8fed107588b74c2a822421e7c0b136210d3dcf65
LU-15220 lustre: use 'fallthrough' pseudo keyword for switch

'/* fallthrough */' hits implicit-fallthrough error with GCC 11.

This patch replaces the existing '/* fallthrough */' comments and
its variants with the 'fallthrough' pseudo keyword, which was added
by Linux kernel commit v5.4-rc2-141-g294f69e662d1.

Test-Parameters: trivial
Change-Id: Icace4c9953950f86d3c48068d8c6bba7dd1160a6
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46269
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Peter Jones <pjones@whamcloud.com>
23 files changed:
lustre/include/lustre_compat.h
lustre/ldlm/ldlm_request.c
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_namespace.c
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/lov/lov_object.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_barrier.c
lustre/mgs/mgs_llog.c
lustre/obdecho/echo_client.c
lustre/osc/osc_cache.c
lustre/osd-zfs/osd_object.c
lustre/ptlrpc/gss/gss_keyring.c
lustre/ptlrpc/gss/sec_gss.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/pack_generic.c
lustre/quota/qmt_handler.c