Whamcloud - gitweb
LU-11453 class: use INIT_LIST_HEAD_RCU instead INIT_LIST_HEAD 17/33317/4
authorYang Sheng <ys@whamcloud.com>
Mon, 8 Oct 2018 15:01:01 +0000 (23:01 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Oct 2018 05:19:55 +0000 (05:19 +0000)
commit68bc3984975bb72f730d8a8ab7aa2d836e50abe5
treeaed28a7e50e3beb8ea8e000dd1d021b52a3db89e
parent8546f17bb7c85958263cb12f7628678fb97837e1
LU-11453 class: use INIT_LIST_HEAD_RCU instead INIT_LIST_HEAD

Use INIT_LIST_HEAD_RCU to avoid compiler optimization too much
in some case.

Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: I66b340ac3147d2cb911a2b7d3e210c6847047dac
Reviewed-on: https://review.whamcloud.com/33317
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/ldlm/ldlm_lock.c
lustre/mdt/mdt_open.c
lustre/obdclass/genops.c