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
b=15226
[fs/lustre-release.git]
/
lustre
/
include
/
liblustre.h
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
388de36
..
e59581f
100644
(file)
--- a/
lustre/include/liblustre.h
+++ b/
lustre/include/liblustre.h
@@
-281,7
+281,7
@@
typedef spinlock_t rwlock_t;
#define read_unlock(l) spin_unlock(l)
#define write_lock(l) spin_lock(l)
#define write_unlock(l) spin_unlock(l)
-
+#define rwlock_init(l) spin_lock_init(l)
#define min(x,y) ((x)<(y) ? (x) : (y))
#define max(x,y) ((x)>(y) ? (x) : (y))