]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: ensure that fpunch, fcollapse, and finsert operations are aligned to rt extent...
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 Sep 2020 21:21:06 +0000 (14:21 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:42 +0000 (20:52 -0700)
commit49047e5ba0355417fafc7986e25422843e40abc9
treef6efbc2f4dbb906879acf20bc7905647d3ba51ca
parent970be4165da9806a394bacfb2cda4374e370edea
xfs: ensure that fpunch, fcollapse, and finsert operations are aligned to rt extent size

Make sure that any fallocate operation that requires the range to be
block-aligned also checks that the range is aligned to the realtime
extent size.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_bmap_util.c