Whamcloud - gitweb
LU-12678 socklnd: initialize the_ksocklnd at compile-time. 31/36831/5
authorMr NeilBrown <neilb@suse.de>
Wed, 15 Jan 2020 15:31:45 +0000 (10:31 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 23 Jan 2020 05:31:31 +0000 (05:31 +0000)
commitb30930a242c6839c2cdb653c849838e928fc3936
tree9faa6e54c331a716111569490b0a4e5fca2f297b
parent15278c6d32a5a9a7a2b8ac9e08c8702383e0c2ff
LU-12678 socklnd: initialize the_ksocklnd at compile-time.

All other lnds initialize this struct at compile-time.
It is best for socklnd to do so too.

Test-Parameters: trivial testlist=sanity-lnet

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I3acd636f6f5ba783a2c60bf18ffc46c98e091c13
Reviewed-on: https://review.whamcloud.com/36831
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/socklnd/socklnd.c