From dae13570817a4c48047ae5c230e6aa48abac3657 Mon Sep 17 00:00:00 2001 From: shadow Date: Wed, 13 Aug 2008 07:11:58 +0000 Subject: [PATCH] avoid ASSERTION(client_stat->nid_exp_ref_count == 0) failed Branch b1_8_gate b=15139 i=tappro i=rread --- lustre/mgs/mgs_handler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/mgs/mgs_handler.c b/lustre/mgs/mgs_handler.c index 21fee82..62d333e 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -133,6 +133,8 @@ static int mgs_disconnect(struct obd_export *exp) rc = class_disconnect(exp); ldlm_cancel_locks_for_export(exp); + lprocfs_exp_cleanup(exp); + /* complete all outstanding replies */ spin_lock(&exp->exp_lock); while (!list_empty(&exp->exp_outstanding_replies)) { -- 1.8.3.1