Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Thu, 7 Sep 2006 15:18:27 +0000 (15:18 +0000)
committerwangdi <wangdi>
Thu, 7 Sep 2006 15:18:27 +0000 (15:18 +0000)
in cmd, group should start from 1

lustre/obdfilter/filter.c

index 65da4b8..203a704 100644 (file)
@@ -1328,7 +1328,7 @@ static void filter_post(struct obd_device *obd)
         if (rc)
                 CERROR("error writing server data: rc = %d\n", rc);
 
-        for (i = 0; i < filter->fo_group_count; i++) {
+        for (i = 1; i < filter->fo_group_count; i++) {
                 rc = filter_update_last_objid(obd, i, 
                                 (i == filter->fo_group_count - 1));
                 if (rc)