Whamcloud - gitweb
LU-8191 target: convert functions to static
authorTimothy Day <timday@amazon.com>
Thu, 28 Mar 2024 23:54:13 +0000 (16:54 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 Mar 2024 07:23:51 +0000 (07:23 +0000)
commit6800beb0b0ec7cac2a4510760f568f2231d99922
tree38830e6c6deb6c6f7826a3af8059bfcc1e5563cf
parent1aaf7af1bcc2a368c226b8db4320192a000a0572
LU-8191 target: convert functions to static

Static analysis shows that a number of functions
could be made static. This patch declares several
functions in target static.

Also, remove an unused function tgt_obd_log_cancel(),
and add some headers where they were missing.

Lustre-change: https://review.whamcloud.com/51475
Lustre-commit: bcbf31a9e1bd6399053a5a757b406152f0d65a42

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I1823df3562cb181b275788560166c92b63483637
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54614
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/obdclass/obd_mount_server.c
lustre/target/barrier.c
lustre/target/out_lib.c
lustre/target/tgt_fmd.c
lustre/target/tgt_handler.c
lustre/target/tgt_lastrcvd.c
lustre/target/tgt_main.c