X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flod%2Flod_lov.c;h=e60ba8be75e1ef6e4e84be0d89bf9ce702ae190d;hp=038e0df947c3c49bfc91ad05576cfed5017dd2f2;hb=da12d3ba35bbb86c8e5860a5ed161a55f01b69d5;hpb=e02e613f411d4273c9c1c99ee88121e641ddb4c2 diff --git a/lustre/lod/lod_lov.c b/lustre/lod/lod_lov.c index 038e0df..e60ba8b 100644 --- a/lustre/lod/lod_lov.c +++ b/lustre/lod/lod_lov.c @@ -717,7 +717,7 @@ int lod_initialize_objects(const struct lu_env *env, struct lod_object *lo, for (i = 0; i < lo->ldo_stripenr; i++) { ostid_le_to_cpu(&objs[i].l_ost_oi, &info->lti_ostid); - idx = le64_to_cpu(objs[i].l_ost_idx); + idx = le32_to_cpu(objs[i].l_ost_idx); rc = ostid_to_fid(&info->lti_fid, &info->lti_ostid, idx); if (rc != 0) GOTO(out, rc);