X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flov%2Flov_log.c;h=adec9a6f63012bb261c0dcaf050bda98923c1d8e;hp=666ab4a72a0222d6d6fb7dd574956c4349049ea4;hb=6794d7654b4c459519a9e6d85ed439c8c594c2e7;hpb=43f5fe89a53ffe8da2e1ff93f63d55851490d930 diff --git a/lustre/lov/lov_log.c b/lustre/lov/lov_log.c index 666ab4a..adec9a6 100644 --- a/lustre/lov/lov_log.c +++ b/lustre/lov/lov_log.c @@ -91,14 +91,13 @@ static int lov_llog_origin_add(const struct lu_env *env, switch (rec->lrh_type) { case MDS_UNLINK_REC: { struct llog_unlink_rec *lur = (struct llog_unlink_rec *)rec; - lur->lur_oid = loi->loi_id; - lur->lur_oseq = loi->loi_seq; + lur->lur_oid = ostid_id(&loi->loi_oi); + lur->lur_oseq = (__u32)ostid_seq(&loi->loi_oi); break; } case MDS_SETATTR64_REC: { struct llog_setattr64_rec *lsr = (struct llog_setattr64_rec *)rec; - lsr->lsr_oid = loi->loi_id; - lsr->lsr_oseq = loi->loi_seq; + lsr->lsr_oi = loi->loi_oi; break; } default: