Whamcloud - gitweb
LU-14651 uapi: rename CONFIG_T_* to MGS_CFG_T_*
authorJames Simmons <jsimmons@infradead.org>
Fri, 21 Jan 2022 20:31:55 +0000 (12:31 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 22 Jan 2022 08:22:32 +0000 (08:22 +0000)
commit9ae9b94015ff59adcdeca2ee6843ccf8f788165d
tree3dc394519d1e049b4ba74aedef436b082d5dd5ba
parent9abc60b6782da37c0d8626116b28604535746623
LU-14651 uapi: rename CONFIG_T_* to MGS_CFG_T_*

The Linux kernel uses CONFIG_* as a way to determine if a feature
is available. Using CONFIG_* in an UAPI is considered an error
and in the most recent kernels will break a build. While we don't
have any CONFIG_* in our UAPI headers we do have CONFIG_T_*
which is used for config logs. This naming confuses the Linux
kernel build system so just rename these variables to MGS_CFG_T_*
instead.

Lustre-change: https://review.whamcloud.com/43494
Lustre-commit: 4d5a2eba617780eadf172cb5c1fc28d5ab023a97

Test-Parameters: trivial
Change-Id: I574510c2da90e9ae608c9e2374d75220b7abb19d
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46245
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
14 files changed:
lustre/include/lustre_disk.h
lustre/include/obd_class.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/mgc/mgc_internal.h
lustre/mgc/mgc_request.c
lustre/mgs/mgs_barrier.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_internal.h
lustre/mgs/mgs_llog.c
lustre/mgs/mgs_nids.c
lustre/ptlrpc/nodemap_storage.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c