Whamcloud - gitweb
LU-10805 ldlm: convert ACCESS_ONCE() to READ_ONCE() 89/31789/3
authorLi Dongyang <dongyangli@ddn.com>
Mon, 30 Apr 2018 19:06:51 +0000 (15:06 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 6 May 2018 03:41:46 +0000 (03:41 +0000)
commitda028f98ea11943ca15ea9ba7220cc24dbc775bd
tree4ba08988ad357b49048883e353029071f93dc7a5
parent8020bf0cc8a055a9b5ae347b8b1ac582113686bc
LU-10805 ldlm: convert ACCESS_ONCE() to READ_ONCE()

Linux kernel 4.15 removed ACCESS_ONCE, use READ_ONCE instead.

Linux-commit: b899a850431e2dd0943205a63a68573f3e312d0d

Test-Parameters: trivial
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: I139e4cab95b99f362a85c37efe236137835f9c54
Reviewed-on: https://review.whamcloud.com/31789
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/include/lustre_compat.h
lustre/ldlm/ldlm_lib.c