Whamcloud - gitweb
LU-5014 osd-ldiskfs: vfs_unlink api changed
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_compat.c
index 6330066..d01748d 100644 (file)
@@ -1104,7 +1104,7 @@ int osd_obj_map_recover(struct osd_thread_info *info,
                /* If the src object has never been modified, then remove it. */
                if (inode->i_size == 0 && inode->i_mode & S_ISUID &&
                    inode->i_mode & S_ISGID) {
-                       rc = vfs_unlink(src_parent, src_child);
+                       rc = ll_vfs_unlink(src_parent, src_child);
                        if (unlikely(rc == -ENOENT))
                                rc = 0;
                }