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]
/
libcfs
/
include
/
libcfs
/
winnt
/
winnt-lock.h
diff --git
a/libcfs/include/libcfs/winnt/winnt-lock.h
b/libcfs/include/libcfs/winnt/winnt-lock.h
index
f0d7b96
..
169cc02
100644
(file)
--- a/
libcfs/include/libcfs/winnt/winnt-lock.h
+++ b/
libcfs/include/libcfs/winnt/winnt-lock.h
@@
-221,7
+221,7
@@
struct cfs_spin_lock {
#define CFS_DECL_SPIN(name) cfs_spinlock_t name;
#define CFS_DECL_SPIN_EXTERN(name) extern cfs_spinlock_t name;
-#define
CFS_SPIN_LOCK_UNLOCKED
{0}
+#define
DEFINE_SPINLOCK
{0}
static inline void cfs_spin_lock_init(cfs_spinlock_t *lock)
{