Skip to content

Commit 79a7216

Browse files
committed
Merge tag 'xfs-5.16-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs fix from Darrick Wong: "Remove an unnecessary (and backwards) rename flags check that duplicates a VFS level check" * tag 'xfs-5.16-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: xfs: remove incorrect ASSERT in xfs_rename
2 parents 23b55d6 + e445976 commit 79a7216

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/xfs/xfs_inode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3122,7 +3122,6 @@ xfs_rename(
31223122
* appropriately.
31233123
*/
31243124
if (flags & RENAME_WHITEOUT) {
3125-
ASSERT(!(flags & (RENAME_NOREPLACE | RENAME_EXCHANGE)));
31263125
error = xfs_rename_alloc_whiteout(mnt_userns, target_dp, &wip);
31273126
if (error)
31283127
return error;

0 commit comments

Comments
 (0)