Whamcloud - gitweb
LU-2675 obd: remove client_obd_lock_t 31/12231/4
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 5 Nov 2014 01:10:43 +0000 (20:10 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Dec 2014 13:42:01 +0000 (13:42 +0000)
commit79c00733d0b4f8662b630fa2c6c1d475eb7556d2
tree074e9b1a3f9fa47f62026fbcc208bdf62a267dcb
parent437b35cb28e57a46e6dd60c45a643bfc73a8e189
LU-2675 obd: remove client_obd_lock_t

Remove the definition of client_obd_lock_t and the functions
client_obd_list_{init,lock,unlock,done}(). Use spinlock_t for the
cl_{loi,lru}_list_lock members of struct client_obd and call
spin_{lock,unlock}() directly.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I3c4b9cf531b6d62c3481a40f4a1c448cf864beec
Reviewed-on: http://review.whamcloud.com/12231
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status.c
lustre/osc/lproc_osc.c
lustre/osc/osc_cache.c
lustre/osc/osc_page.c
lustre/osc/osc_request.c