Whamcloud - gitweb
LU-8191 mdt: convert functions to static 45/51345/2
authorTimothy Day <timday@amazon.com>
Sun, 18 Jun 2023 04:26:48 +0000 (04:26 +0000)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Jul 2023 22:37:02 +0000 (22:37 +0000)
commita1d332f613ac41f4a565c3aeca6633fbd618467e
tree63ca437d462c501616a80bbc6f3786a67936cebe
parent094ae18ed8a995a1323833054bdfed613fa884c5
LU-8191 mdt: convert functions to static

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

 mdt_coordinator.c:2145:9: warning: Should this function be static?
 ssize_t loop_period_show(struct kobject *kobj,
         ^

Further patches will follow to clean up the
remaining non-static functions in other subsystems.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I0350b0d5c88c0a8d1f1748d1d429cdf90afb96b7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51345
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>
lustre/mdt/mdt_coordinator.c