Whamcloud - gitweb
LU-10761 osd-ldiskfs: not create REMOTE_PARENT_DIR on OST
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_scrub.c
index acc8618..118f5b7 100644 (file)
@@ -730,7 +730,7 @@ static int osd_iit_iget(struct osd_thread_info *info, struct osd_device *dev,
        /* Not handle the backend root object and agent parent object.
         * They are neither visible to namespace nor have OI mappings. */
        if (unlikely(pos == osd_sb(dev)->s_root->d_inode->i_ino ||
-                    pos == osd_remote_parent_ino(dev)))
+                    is_remote_parent_ino(dev, pos)))
                RETURN(SCRUB_NEXT_CONTINUE);
 
        osd_id_gen(lid, pos, OSD_OII_NOGEN);