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:
5cdc35a
)
b=19906
author
jxiong
<jxiong>
Thu, 19 Nov 2009 05:58:04 +0000
(
05:58
+0000)
committer
jxiong
<jxiong>
Thu, 19 Nov 2009 05:58:04 +0000
(
05:58
+0000)
r=wangdi,ericm
Revert a bit of cleanup patch.
lustre/osc/osc_lock.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_lock.c
b/lustre/osc/osc_lock.c
index
b9e711b
..
67baec8
100644
(file)
--- a/
lustre/osc/osc_lock.c
+++ b/
lustre/osc/osc_lock.c
@@
-135,8
+135,6
@@
static void osc_lock_detach(const struct lu_env *env, struct osc_lock *olck)
{
struct ldlm_lock *dlmlock;
{
struct ldlm_lock *dlmlock;
- /* reset the osc lock's state because it might be queued again. */
- olck->ols_state = OLS_NEW;
spin_lock(&osc_ast_guard);
dlmlock = olck->ols_lock;
if (dlmlock == NULL) {
spin_lock(&osc_ast_guard);
dlmlock = olck->ols_lock;
if (dlmlock == NULL) {