Whamcloud - gitweb
- fix wrong checking
[fs/lustre-release.git] / lustre / cmm / cmm_split.c
index ac12864..293a5bb 100644 (file)
@@ -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,