]> git.itanic.dy.fi Git - linux-stable/commit
xfs: slightly tweak an assert in xfs_fs_map_blocks
authorChristoph Hellwig <hch@lst.de>
Sat, 24 Sep 2022 12:56:41 +0000 (18:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:04:09 +0000 (11:04 +0200)
commit979eb1230413fb50f71995534d2f517ed67e07c9
treee495f346f9002a8eb86272a7977628747d5569cd
parentc494dbca992831d8fccf2bfc6756cc145b2d11ed
xfs: slightly tweak an assert in xfs_fs_map_blocks

commit 88cdb7147b21b2d8b4bd3f3d95ce0bffd73e1ac3 upstream.

We should never see delalloc blocks for a pNFS layout, write or not.
Adjust the assert to check for that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_pnfs.c