Whamcloud - gitweb
LU-10756 ptlrpc: change IMPORT_SET_* macros into real functions 63/35463/2
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 11 Jul 2019 00:52:34 +0000 (20:52 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Jul 2019 06:22:21 +0000 (06:22 +0000)
commitcf78502e48d6dbbc0d6c113e573ba9c68c5c311e
tree3cc6d3067691cf0cedbc446cf0cdbeba54053752
parent43d5806ffe6d6017aea0892de78dc27e54861de1
LU-10756 ptlrpc: change IMPORT_SET_* macros into real functions

Make the IMPORT_SET_STATE_NOLOCK and IMPORT_SET_STATE macros into
normal functions. Since import_set_state_nolock() is basically a
wrapper around __import_set_state() we can merge both functions.

Change-Id: Idaa6aeb81ff2282e2f83d758a267129e686bd794
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/35463
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/import.c