fix "the busy llcds"
b=19235
i=shadow
i=tom.wang
obd->obd_name, (int)oa->o_gr);
GOTO(cleanup, rc = PTR_ERR(olg));
}
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);
fcc = &oa->o_lcookie;
ctxt = llog_group_get_ctxt(olg, fcc->lgc_subsys + 1);
llog_cancel(ctxt, NULL, 1, fcc, 0);
struct list_head *tmp;
CERROR("Busy llcds found (%d) on lcm %p\n",
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) {
spin_lock(&lcm->lcm_lock);
list_for_each(tmp, &lcm->lcm_llcds) {