From 8c414c1ff5ed6a47c8444cc495a94850377eaae7 Mon Sep 17 00:00:00 2001
From: johann <johann>
Date: Fri, 2 May 2008 19:41:01 +0000
Subject: [PATCH] Branch b1_6 b=15069 i=rread i=wangdi

remove LASSERT in ptlrpc_invalidate_import() since ping req can be queued even
imp_invalid is set. See also bug 15716.
---
 lustre/ptlrpc/import.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c
index e65d1457a0..8d60653d6e 100644
--- a/lustre/ptlrpc/import.c
+++ b/lustre/ptlrpc/import.c
@@ -234,7 +234,6 @@ void ptlrpc_invalidate_import(struct obd_import *imp)
                         DEBUG_REQ(D_ERROR, req, "still on delayed list");
                 }
                 spin_unlock(&imp->imp_lock);
-                LASSERT(atomic_read(&imp->imp_inflight) == 0);
         }
 
   out:
-- 
GitLab