X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Fliblustreapi.c;h=dc989a7ce384f4e27be93ca47011e9a2d05425f3;hp=1c903f82394b1f8f62d947cb924512e577688505;hb=624fd0ca0832e92dd2f5486984b6c7f7397619ba;hpb=c0468e08ce5864884265a542606f6253cce19bad diff --git a/lustre/utils/liblustreapi.c b/lustre/utils/liblustreapi.c index 1c903f8..dc989a7 100644 --- a/lustre/utils/liblustreapi.c +++ b/lustre/utils/liblustreapi.c @@ -1557,8 +1557,8 @@ static void lov_dump_user_lmm_header(struct lov_user_md *lum, char *path, char *prefix = is_dir ? "" : "lmm_"; char nl = is_dir ? ' ' : '\n'; - if (is_dir && lum->lmm_object_seq == LOV_OBJECT_GROUP_DEFAULT) { - lum->lmm_object_seq = LOV_OBJECT_GROUP_CLEAR; + if (is_dir && lum->lmm_object_seq == FID_SEQ_LOV_DEFAULT) { + lum->lmm_object_seq = FID_SEQ_OST_MDT0; if (verbose & VERBOSE_DETAIL) llapi_printf(LLAPI_MSG_NORMAL, "(Default) "); } @@ -2301,7 +2301,7 @@ static int cb_getstripe(char *path, DIR *parent, DIR *d, void *data, struct lov_user_md *lmm = ¶m->lmd->lmd_lmm; lmm->lmm_magic = LOV_MAGIC_V1; if (!param->raw) - lmm->lmm_object_seq = LOV_OBJECT_GROUP_DEFAULT; + lmm->lmm_object_seq = FID_SEQ_LOV_DEFAULT; lmm->lmm_stripe_count = 0; lmm->lmm_stripe_size = 0; lmm->lmm_stripe_offset = -1;