X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fofd%2Fofd_obd.c;h=ff047ca2772dd0cb062a00680549bacc6c76469e;hb=c65a2c2a41f4fb9b91f25d4ac073364258691d1b;hp=6de500cd423a220d4c24eeac6fea110f4664a707;hpb=85bd36cc69563d7a79e3ed34f8fadb4ed1a72b7c;p=fs%2Flustre-release.git diff --git a/lustre/ofd/ofd_obd.c b/lustre/ofd/ofd_obd.c index 6de500c..ff047ca 100644 --- a/lustre/ofd/ofd_obd.c +++ b/lustre/ofd/ofd_obd.c @@ -638,7 +638,7 @@ static int ofd_get_info(const struct lu_env *env, struct obd_export *exp, struct ofd_thread_info *info; struct ofd_device *ofd; struct ll_fiemap_info_key *fm_key = key; - struct ll_user_fiemap *fiemap = val; + struct fiemap *fiemap = val; int rc = 0; ENTRY; @@ -653,7 +653,7 @@ static int ofd_get_info(const struct lu_env *env, struct obd_export *exp, if (KEY_IS(KEY_FIEMAP)) { info = ofd_info_init(env, exp); - rc = ostid_to_fid(&info->fti_fid, &fm_key->oa.o_oi, + rc = ostid_to_fid(&info->fti_fid, &fm_key->lfik_oa.o_oi, ofd->ofd_lut.lut_lsd.lsd_osd_index); if (rc != 0) RETURN(rc);