From: tappro Date: Sun, 15 Oct 2006 08:43:43 +0000 (+0000) Subject: - small fix. skip first mea slot. X-Git-Tag: v1_8_0_110~486^2~520 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=0d91594f2d8e122ead5ab7c3de3b0e0cdb09f130;p=fs%2Flustre-release.git - small fix. skip first mea slot. --- diff --git a/lustre/cmm/cmm_split.c b/lustre/cmm/cmm_split.c index c7ecfb9..8677a15 100644 --- a/lustre/cmm/cmm_split.c +++ b/lustre/cmm/cmm_split.c @@ -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