Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Thu, 10 Aug 2006 13:15:45 +0000 (13:15 +0000)
committerwangdi <wangdi>
Thu, 10 Aug 2006 13:15:45 +0000 (13:15 +0000)
Merge fix from b1_5
This Assert is not right for ost add dynamicly

lustre/lov/lov_log.c

index 454b5a6..5854b54 100644 (file)
@@ -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)