Whamcloud - gitweb
LU-6142 lustre: all rhashtable_params should be static. 30/39730/2
authorMr NeilBrown <neilb@suse.de>
Tue, 25 Aug 2020 23:17:01 +0000 (09:17 +1000)
committerOleg Drokin <green@whamcloud.com>
Sat, 12 Sep 2020 15:44:44 +0000 (15:44 +0000)
commit711e03b6c0c8dc4261f257fc7d4875e203e4e426
tree5024ddd9ca2b4296c66f7aded79ece10141ac8a3
parente58cfb7ec5ed5d2ff315cbed25d28bb97139ca23
LU-6142 lustre: all rhashtable_params should be static.

pools_hash_params and nid_hash_params are only used in the file where
they are declared - which is best for rhashtable params.
However they are not declared 'static', and one is even EXPORTed.

Change them both to 'static' and remove the EXPORT.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ib71f8a7c3bfa38fa54b3653d51786a3d8da6117f
Reviewed-on: https://review.whamcloud.com/39730
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_pool.c
lustre/obdclass/obd_config.c