Whamcloud - gitweb
LU-9010 ldlm: use static initializer macros where possible 24/24824/6
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 23 May 2017 14:54:39 +0000 (10:54 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:57:51 +0000 (03:57 +0000)
commitcdfb271f37288c038f5b525fe7764df59d92e0b3
treee3356c64871c4e5ebc5e0d4fc7f54ccddaf756b5
parent14f5cf9c3d1d81997ec4fd8eacc05a721c8faa82
LU-9010 ldlm: use static initializer macros where possible

In lustre/ldlm/ replace module load time initialization of several
lists, locks, mutexes, and wait queues with static initialization
using the kernel provided macros.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I145daf6355c568c422ab8c8b02ca284637b75320
Reviewed-on: https://review.whamcloud.com/24824
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_resource.c