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:
6f26bb6
)
b=19188
author
jxiong
<jxiong>
Mon, 22 Jun 2009 18:34:53 +0000
(18:34 +0000)
committer
jxiong
<jxiong>
Mon, 22 Jun 2009 18:34:53 +0000
(18:34 +0000)
r=pravin,rread
It is bad to access the ols_lock if the lock is detached.
lustre/osc/osc_lock.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_lock.c
b/lustre/osc/osc_lock.c
index
ddf9a34
..
c9d8e31
100644
(file)
--- a/
lustre/osc/osc_lock.c
+++ b/
lustre/osc/osc_lock.c
@@
-1360,7
+1360,6
@@
static int osc_lock_use(const struct lu_env *env,
lock = slice->cls_lock;
LASSERT(lock->cll_state == CLS_CACHED);
LASSERT(lock->cll_users > 0);
- LASSERT(olck->ols_lock->l_flags & LDLM_FL_CBPENDING);
/* set a flag for osc_dlm_blocking_ast0() to signal the
* lock.*/
olck->ols_ast_wait = 1;