Whamcloud - gitweb
LU-16837 lustre: avoid the same member name 66/51766/6
authorBobi Jam <bobijam@whamcloud.com>
Wed, 26 Jul 2023 10:17:47 +0000 (18:17 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Dec 2023 12:17:29 +0000 (12:17 +0000)
commita4b5304ae5542373de4ad1f2bca193dfb95ef7ff
treea00217fd8a774d8e91f730df990a48ad32533104
parentd0babe6bd8b38cb86875c5e3d92aee4c69986ce9
LU-16837 lustre: avoid the same member name

There are several structures using the same member name, such as
cl_ladvise_io::li_flags, layout_intent::li_flags and
lfsck_instance::li_flags, and this makes it hard to find where it
is used.

This patch renames some structures member prefix to avoid the
homonyms.

Test-Parameters: trivial
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Ie592afa06dd0abf0c1110843e5d8007a91c68145
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51766
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
13 files changed:
contrib/scripts/spelling.txt
lustre/include/cl_object.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/llite/file.c
lustre/lod/lod_object.c
lustre/lov/lov_io.c
lustre/mdd/mdd_object.c
lustre/mdt/mdt_handler.c
lustre/osc/osc_io.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c