]> 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)
commit5715d66e8b0094032fd04df99c8b534d92b3acbd
tree0230de08c39ba365be9b200f15816f97ed8fac3a
parent099be9e266b043180cb22d8993d41075d6d213f8
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