X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Fliblustreapi.c;h=754536f1178dbaacacbf7fccfb7f0aa26f1f8bd9;hp=848a72d4b7f45023fcf6171b1ebc2cb4712c5927;hb=c1d0a355a6a64ec97c9f56c38ba036e5e50cd8c4;hpb=a120bb13525727654713f008ffcaf0e3aec7cb65 diff --git a/lustre/utils/liblustreapi.c b/lustre/utils/liblustreapi.c index 848a72d..754536f 100644 --- a/lustre/utils/liblustreapi.c +++ b/lustre/utils/liblustreapi.c @@ -3109,8 +3109,6 @@ void lmv_dump_user_lmm(struct lmv_user_md *lum, char *pool_name, else llapi_printf(LLAPI_MSG_NORMAL, "%#x", type); - if (flags & LMV_HASH_FLAG_SPACE) - llapi_printf(LLAPI_MSG_NORMAL, ",space"); if (flags & LMV_HASH_FLAG_MIGRATION) llapi_printf(LLAPI_MSG_NORMAL, ",migrating"); if (flags & LMV_HASH_FLAG_BAD_TYPE) @@ -5209,7 +5207,7 @@ static int cb_getstripe(char *path, DIR *parent, DIR **dirp, void *data, lum->lum_magic = LMV_USER_MAGIC; lum->lum_stripe_count = 0; - lum->lum_stripe_offset = -1; + lum->lum_stripe_offset = LMV_OFFSET_DEFAULT; goto dump; } else if (param->fp_get_lmv) { struct lmv_user_md *lum = param->fp_lmv_md;