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-4199 libcfs: remove assertion of spin_is_locked()
[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
2251c5d
..
23f93c3
100644
(file)
--- a/
libcfs/include/libcfs/winnt/winnt-lock.h
+++ b/
libcfs/include/libcfs/winnt/winnt-lock.h
@@
-298,7
+298,7
@@
static int spin_trylock(spinlock_t *lock)
return rc;
}
-static int
spin_is
_locked(spinlock_t *lock)
+static int
assert_spin
_locked(spinlock_t *lock)
{
#if _WIN32_WINNT >= 0x502
/* KeTestSpinLock only avalilable on 2k3 server or later */