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
/
obdclass
/
capa.c
diff --git
a/lustre/obdclass/capa.c
b/lustre/obdclass/capa.c
index
b121449
..
4fc3fff
100644
(file)
--- a/
lustre/obdclass/capa.c
+++ b/
lustre/obdclass/capa.c
@@
-65,7
+65,7
@@
cfs_mem_cache_t *capa_cachep = NULL;
#ifdef __KERNEL__
/* lock for capa hash/capa_list/fo_capa_keys */
-
cfs_spinlock_t capa_lock = CFS_SPIN_LOCK_UNLOCKED
;
+
DEFINE_SPINLOCK(capa_lock)
;
cfs_list_t capa_list[CAPA_SITE_MAX];