Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54447ce
)
kernel_patches: dynlocks: a bit of cleanups.
author
nikita
<nikita>
Mon, 23 Oct 2006 18:34:38 +0000
(18:34 +0000)
committer
nikita
<nikita>
Mon, 23 Oct 2006 18:34:38 +0000
(18:34 +0000)
lustre/kernel_patches/patches/dynamic-locks-2.6.9.patch
patch
|
blob
|
history
diff --git
a/lustre/kernel_patches/patches/dynamic-locks-2.6.9.patch
b/lustre/kernel_patches/patches/dynamic-locks-2.6.9.patch
index
5928ea8
..
03237b4
100644
(file)
--- a/
lustre/kernel_patches/patches/dynamic-locks-2.6.9.patch
+++ b/
lustre/kernel_patches/patches/dynamic-locks-2.6.9.patch
@@
-259,7
+259,7
@@
Index: linux/lib/dynlocks.c
+
+ spin_lock(&dl->dl_list_lock);
+ if (hl->dl_writers) {
-+ BUG_ON(hl->dl_readers
> 0 || hl->dl_readers <
0);
++ BUG_ON(hl->dl_readers
!=
0);
+ hl->dl_writers--;
+ if (hl->dl_writers == 0)
+ wakeup = 1;
@@
-268,7
+268,7
@@
Index: linux/lib/dynlocks.c
+ if (hl->dl_readers == 0)
+ wakeup = 1;
+ } else {
-+ BUG
_ON(1
);
++ BUG
(
);
+ }
+ if (wakeup) {
+ hl->dl_pid = 0;