Whamcloud - gitweb
LU-8191 lustre: convert mdc,mdd,mdt,mgc functions to static 78/51478/2
authorTimothy Day <timday@amazon.com>
Fri, 23 Jun 2023 20:52:17 +0000 (20:52 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Jul 2023 03:09:10 +0000 (03:09 +0000)
commit38d151f2f65d76fc392d356519227a648e114b5f
tree8ab28c00a430f01b14ad689cd78c30a00d00dc15
parent2fa075d10f72f1400e4da9bdcaec905858b0a264
LU-8191 lustre: convert mdc,mdd,mdt,mgc functions to static

Static analysis shows that a number of functions
could be made static. This patch declares several
functions in mdc, mdd, mdt, and mgc static.

Also, remove mgs_client_add() since it was unused, and
move a declaration from a c-file to the proper header file.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ia23f62465c27c83a9a0260bb45e8c8b710491558
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51478
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lustre/mdc/mdc_dev.c
lustre/mdc/mdc_request.c
lustre/mdd/mdd_device.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdt/mdt_hsm_cdt_agent.c
lustre/mdt/mdt_io.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_som.c
lustre/mgc/lproc_mgc.c
lustre/mgs/mgs_barrier.c
lustre/mgs/mgs_fs.c