X-Git-Url: https://git.whamcloud.com/gitweb?a=blobdiff_plain;f=lustre%2Flov%2Flov_pack.c;h=aea018f268a1e875f8ee3fd0f964494a72d76f1b;hb=cf4180615577365d562669db7a4dc6e76c26a15b;hp=ba8663b72f70046a2773b052644a0102250c837d;hpb=14b04238ddbbe196b20ff046abf5693d3a199524;p=fs%2Flustre-release.git diff --git a/lustre/lov/lov_pack.c b/lustre/lov/lov_pack.c index ba8663b..aea018f 100644 --- a/lustre/lov/lov_pack.c +++ b/lustre/lov/lov_pack.c @@ -378,7 +378,7 @@ int lov_setea(struct obd_export *exp, struct lov_stripe_md **lsmp, for (i = 0; i < lump->lmm_stripe_count; i++) { __u32 len = sizeof(last_id); oexp = lov->lov_tgts[lump->lmm_objects[i].l_ost_idx]->ltd_exp; - rc = obd_get_info(oexp, strlen("last_id"), "last_id", + rc = obd_get_info(oexp, sizeof(KEY_LAST_ID), KEY_LAST_ID, &len, &last_id); if (rc) RETURN(rc);