Whamcloud - gitweb
LU-8653 lod: use stripe_count instead of stripe_nr
[fs/lustre-release.git] / lustre / utils / liblustreapi.c
index b433549..982f565 100644 (file)
@@ -3659,7 +3659,7 @@ static int cb_find_init(char *path, DIR *parent, DIR **dirp,
                        /* We need to "fake" the "use the default" values
                         * since the lmm struct is zeroed out at this point. */
                        lmm->lmm_magic = LOV_USER_MAGIC_V1;
-                       lmm->lmm_pattern = 0xFFFFFFFF;
+                       lmm->lmm_pattern = LOV_PATTERN_DEFAULT;
                        if (!param->fp_raw)
                                ostid_set_seq(&lmm->lmm_oi,
                                              FID_SEQ_LOV_DEFAULT);