X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-ldiskfs%2Fosd_compat.c;h=80a87a07c1ba4f3ea961b6c99d04553ac5f1415a;hb=716de353b7b65fa506ce7f31f59c187a19f44b64;hp=23e623a2023d178350dde9721dbe2b70414de3fb;hpb=ff1d982b6d8a9683c16d2dcc291d8fe47904ebbe;p=fs%2Flustre-release.git diff --git a/lustre/osd-ldiskfs/osd_compat.c b/lustre/osd-ldiskfs/osd_compat.c index 23e623a..80a87a0 100644 --- a/lustre/osd-ldiskfs/osd_compat.c +++ b/lustre/osd-ldiskfs/osd_compat.c @@ -726,15 +726,6 @@ static int osd_obj_update_entry(struct osd_thread_info *info, GOTO(out, rc); } - /* - * The EA inode should NOT be in OI, old OI scrub may added - * such OI mapping by wrong, replace it. - */ - if (unlikely(osd_is_ea_inode(inode))) { - iput(inode); - goto update; - } - rc = osd_get_lma(info, inode, dentry, &info->oti_ost_attrs); if (rc == -ENODATA) { rc = osd_get_idif(info, inode, dentry, oi_fid);