Whamcloud - gitweb
- small fix. skip first mea slot.
authortappro <tappro>
Sun, 15 Oct 2006 08:43:43 +0000 (08:43 +0000)
committertappro <tappro>
Sun, 15 Oct 2006 08:43:43 +0000 (08:43 +0000)
lustre/cmm/cmm_split.c

index c7ecfb9..8677a15 100644 (file)
@@ -124,7 +124,8 @@ static int cmm_slave_fids_alloc(const struct lu_env *env,
                                 struct lu_fid *fids)
 {
         struct  mdc_device *mc, *tmp;
-        int rc = 0, i = 0;
+        int rc = 0;
+        int i = 1; /* skip master slot */
 
         /* 
          * XXX: In fact here would be nice to protect cmm->cmm_targets but we