Whamcloud - gitweb
LU-812 compat: SPIN/RW_LOCK_UNLOCKED no longer exist
authorJames Simmons <uja.ornl@gmail.com>
Tue, 7 Aug 2012 13:55:49 +0000 (09:55 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 9 Aug 2012 02:02:02 +0000 (22:02 -0400)
commitef6225af104b9138638c71b80e87786b8e5e75e5
treec24499ee97de85a8dd7245a450d6d71385e6140d
parent294c39d488fcd95a523466c7726ff1b5a8327890
LU-812 compat: SPIN/RW_LOCK_UNLOCKED no longer exist

SPIN_LOCK_UNLOCKED/RW_LOCK_UNLOCKED were deprecated and no longer
exist after 2.6.39. Use DEFINE_SPIN_LOCK/DEFINE_RW_LOCK instead.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Signed-off-by: Wally Wang <wang@cray.com>
Change-Id: Ie294e817c850c35e561987f6ab46c6d12d6d018d
Reviewed-on: http://review.whamcloud.com/1942
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
19 files changed:
libcfs/include/libcfs/linux/linux-lock.h
libcfs/include/libcfs/user-lock.h
libcfs/include/libcfs/winnt/winnt-lock.h
libcfs/libcfs/watchdog.c
lustre/llite/llite_lib.c
lustre/llite/statahead.c
lustre/lmv/lmv_object.c
lustre/lvfs/lvfs_linux.c
lustre/mgc/mgc_request.c
lustre/obdclass/capa.c
lustre/obdclass/cl_object.c
lustre/obdclass/class_obd.c
lustre/obdclass/lu_object.c
lustre/obdclass/lu_ref.c
lustre/ptlrpc/gss/gss_mech_switch.c
lustre/ptlrpc/pinger.c
lustre/quota/quota_context.c
lustre/quota/quota_interface.c
lustre/quota/quota_master.c