From 34115bd833ea72718ad1f71671d326c585480fcb Mon Sep 17 00:00:00 2001 From: jxiong Date: Thu, 19 Nov 2009 05:58:04 +0000 Subject: [PATCH] b=19906 r=wangdi,ericm Revert a bit of cleanup patch. --- lustre/osc/osc_lock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lustre/osc/osc_lock.c b/lustre/osc/osc_lock.c index b9e711b..67baec8 100644 --- 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; - /* 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) { -- 1.8.3.1