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:
8863bbe
)
dynlocks: fix assertion that does not take read-locking into account.
author
nikita
<nikita>
Mon, 23 Oct 2006 15:59:57 +0000
(15:59 +0000)
committer
nikita
<nikita>
Mon, 23 Oct 2006 15:59:57 +0000
(15:59 +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
61b6f12
..
5928ea8
100644
(file)
--- a/
lustre/kernel_patches/patches/dynamic-locks-2.6.9.patch
+++ b/
lustre/kernel_patches/patches/dynamic-locks-2.6.9.patch
@@
-255,7
+255,7
@@
Index: linux/lib/dynlocks.c
+ BUG_ON(hl == NULL);
+ BUG_ON(dl->dl_magic != DYNLOCK_LIST_MAGIC);
+ BUG_ON(hl->dl_magic != DYNLOCK_MAGIC);
-+ BUG_ON(current->pid != hl->dl_pid);
++ BUG_ON(
hl->dl_writers != 0 &&
current->pid != hl->dl_pid);
+
+ spin_lock(&dl->dl_list_lock);
+ if (hl->dl_writers) {