Whamcloud - gitweb
Branch HEAD
authortianzy <tianzy>
Tue, 22 Sep 2009 06:28:54 +0000 (06:28 +0000)
committertianzy <tianzy>
Tue, 22 Sep 2009 06:28:54 +0000 (06:28 +0000)
fix "the busy llcds"
b=19235
i=shadow
i=tom.wang

lustre/obdfilter/filter.c
lustre/ptlrpc/recov_thread.c

index 8ef247e..5151b73 100644 (file)
@@ -4054,7 +4054,6 @@ int filter_destroy(struct obd_export *exp, struct obdo *oa,
                                       obd->obd_name, (int)oa->o_gr);
                                GOTO(cleanup, rc = PTR_ERR(olg));
                         }
-                        llog_group_set_export(olg, exp);
                         fcc = &oa->o_lcookie;
                         ctxt = llog_group_get_ctxt(olg, fcc->lgc_subsys + 1);
                         llog_cancel(ctxt, NULL, 1, fcc, 0);
index adbaf03..45163a4 100644 (file)
@@ -433,7 +433,7 @@ void llog_recov_thread_stop(struct llog_commit_master *lcm, int force)
                 struct list_head         *tmp;
 
                 CERROR("Busy llcds found (%d) on lcm %p\n",
-                       atomic_read(&lcm->lcm_count) == 0, lcm);
+                       atomic_read(&lcm->lcm_count), lcm);
 
                 spin_lock(&lcm->lcm_lock);
                 list_for_each(tmp, &lcm->lcm_llcds) {