From a9ef8e5d49753281ff76094c90fa22accd774096 Mon Sep 17 00:00:00 2001 From: tappro Date: Fri, 20 Oct 2006 05:28:14 +0000 Subject: [PATCH] - fix wrong checking --- lustre/cmm/cmm_split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/cmm/cmm_split.c b/lustre/cmm/cmm_split.c index ac12864..293a5bb 100644 --- a/lustre/cmm/cmm_split.c +++ b/lustre/cmm/cmm_split.c @@ -79,7 +79,7 @@ int cmm_mdsnum_check(const struct lu_env *env, struct md_object *mp, RETURN(rc); /* Skip checking the slave dirs (mea_count == 0) */ - if (ma->ma_lmv->mea_count != 0) + if (ma->ma_lmv->mea_count == 0) RETURN(0); /* * Get stripe by name to check the name belongs to master dir, -- 1.8.3.1