From 0d91594f2d8e122ead5ab7c3de3b0e0cdb09f130 Mon Sep 17 00:00:00 2001 From: tappro Date: Sun, 15 Oct 2006 08:43:43 +0000 Subject: [PATCH] - small fix. skip first mea slot. --- lustre/cmm/cmm_split.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.8.3.1