diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 6ef2bda5860e6dc174eb74530804c9164d74a108..380bf32bcdd21793b011f6881087627873b5777c 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -2907,7 +2907,6 @@ xfs_rename( * appropriately. */ if (flags & RENAME_WHITEOUT) { - ASSERT(!(flags & (RENAME_NOREPLACE | RENAME_EXCHANGE))); error = xfs_rename_alloc_whiteout(target_dp, &wip); if (error) return error;