Whamcloud - gitweb
LU-15220 lustre: use 'fallthrough' pseudo keyword for switch 69/46269/2
authorJian Yu <yujian@whamcloud.com>
Sun, 23 Jan 2022 02:21:04 +0000 (18:21 -0800)
committerJian Yu <yujian@whamcloud.com>
Sun, 23 Jan 2022 02:21:04 +0000 (18:21 -0800)
commite08dd4bdd1711efd1c3410fbfc39af55b94e18b9
treee1c75ea35fc59531144366fcf1be12ed9cebe2b2
parent167f81578390b315d6c06c40c931cb5f509369da
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>
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