From: wangdi Date: Thu, 10 Aug 2006 13:15:45 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~1214 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=08b1ef302aa46d554f607a4538963fe038f87d53;p=fs%2Flustre-release.git Branch: b_new_cmd Merge fix from b1_5 This Assert is not right for ost add dynamicly --- diff --git a/lustre/lov/lov_log.c b/lustre/lov/lov_log.c index 454b5a6..5854b54 100644 --- a/lustre/lov/lov_log.c +++ b/lustre/lov/lov_log.c @@ -193,7 +193,7 @@ int lov_llog_init(struct obd_device *obd, struct obd_device *tgt, RETURN(rc); CDEBUG(D_CONFIG, "llog init with %d targets\n", count); - LASSERT(lov->desc.ld_tgt_count == count); + /* count may not match ld_tgt_count during dynamic ost add */ for (i = 0, ctgt = lov->tgts; i < lov->desc.ld_tgt_count; i++, ctgt++) { struct obd_device *child; if (!ctgt->active)