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
/
lvfs
/
lvfs_linux.c
diff --git
a/lustre/lvfs/lvfs_linux.c
b/lustre/lvfs/lvfs_linux.c
index
6661280
..
f206e7e
100644
(file)
--- a/
lustre/lvfs/lvfs_linux.c
+++ b/
lustre/lvfs/lvfs_linux.c
@@
-64,7
+64,7
@@
__u64 obd_max_pages = 0;
__u64 obd_max_alloc = 0;
struct lprocfs_stats *obd_memory = NULL;
EXPORT_SYMBOL(obd_memory);
__u64 obd_max_alloc = 0;
struct lprocfs_stats *obd_memory = NULL;
EXPORT_SYMBOL(obd_memory);
-
cfs_spinlock_t obd_updatemax_lock = CFS_SPIN_LOCK_UNLOCKED
;
+
DEFINE_SPINLOCK(obd_updatemax_lock)
;
/* refine later and change to seqlock or simlar from libcfs */
/* Debugging check only needed during development */
/* refine later and change to seqlock or simlar from libcfs */
/* Debugging check only needed during development */