Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-812 compat: SPIN/RW_LOCK_UNLOCKED no longer exist
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
pinger.c
diff --git
a/lustre/ptlrpc/pinger.c
b/lustre/ptlrpc/pinger.c
index
1b3038c
..
3490b9d
100644
(file)
--- a/
lustre/ptlrpc/pinger.c
+++ b/
lustre/ptlrpc/pinger.c
@@
-588,7
+588,7
@@
static int pet_refcount = 0;
static int pet_state;
static cfs_waitq_t pet_waitq;
CFS_LIST_HEAD(pet_list);
-static
cfs_spinlock_t pet_lock = CFS_SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(pet_lock)
;
int ping_evictor_wake(struct obd_export *exp)
{