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:
d5d9f01
)
Don't fail assertion if lock has waiters.
author
adilger
<adilger>
Mon, 8 Sep 2003 20:14:23 +0000
(20:14 +0000)
committer
adilger
<adilger>
Mon, 8 Sep 2003 20:14:23 +0000
(20:14 +0000)
Was apparently fixed in the client and development branches, but not HEAD.
b=1815
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
791dfbc
..
03556bc
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-671,7
+671,7
@@
int ll_setattr_raw(struct inode *inode, struct iattr *attr)
* pages. This last one is especially bad for racing
* o_append users on other nodes. */
/* bug 1639: avoid write/truncate i_sem/DLM deadlock */
- LASSERT(atomic_read(&inode->i_sem.count)
=
= 0);
+ LASSERT(atomic_read(&inode->i_sem.count)
<
= 0);
up(&inode->i_sem);
rc = ll_extent_lock_no_validate(NULL, inode, lsm, LCK_PW,
&extent, &lockh);