diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index cd3173062ae3..551cb8fb377a 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c @@ -1052,7 +1052,8 @@ static void ocfs2_delete_inode(struct inode *inode) di = (struct ocfs2_dinode *)di_bh->b_data; /* Skip inode deletion and wait for dio orphan entry recovered * first */ - if (unlikely(di->i_flags & cpu_to_le32(OCFS2_DIO_ORPHANED_FL))) { + if (unlikely(di->i_flags & (cpu_to_le32(OCFS2_DIO_ORPHANED_FL) | + cpu_to_le32(OCFS2_ORPHANED_FL)))) { ocfs2_cleanup_delete_inode(inode, 0); goto bail_unlock_inode; }