]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: slightly tweak an assert in xfs_fs_map_blocks
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Oct 2019 19:24:58 +0000 (12:24 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 3 Nov 2019 18:22:30 +0000 (10:22 -0800)
commit69e1ad366d550b7ba829b068defe482ec893df05
tree0230de08c39ba365be9b200f15816f97ed8fac3a
parentfb4e616f5af8ba01232d006a146c2176bdc61d1a
xfs: slightly tweak an assert in xfs_fs_map_blocks

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>
fs/xfs/xfs_pnfs.c