Whamcloud - gitweb
LU-15542 osd-ldiskfs: exclude EA inode from processing
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_compat.c
index 23e623a..80a87a0 100644 (file)
@@ -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);