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:
41a4ee7
)
Don't fail LASSERT if other lockers are pending on semaphore.
author
adilger
<adilger>
Thu, 28 Aug 2003 18:33:35 +0000
(18:33 +0000)
committer
adilger
<adilger>
Thu, 28 Aug 2003 18:33:35 +0000
(18:33 +0000)
b=1734
r=zab
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
7b73cca
..
07e9278
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-530,7
+530,7
@@
int ll_setattr_raw(struct inode *inode, struct iattr *attr)
if (extent.start == 0)
ast_flags = LDLM_AST_DISCARD_DATA;
/* 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, ast_flags);