]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: add a xfs_rtbno_is_group_start helper
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Oct 2024 20:33:37 +0000 (13:33 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 13:55:42 +0000 (15:55 +0200)
commit95f51259d1fbcf3ab6b0076b223ae210d317c6a6
tree48c268bb88927e1a72e21103983da099fa929f5b
parent210d5eb56cdc33775c101868a3c682e3a318e311
xfs: add a xfs_rtbno_is_group_start helper

Make the boundary condition flag more clear and implement it by
a single masking operation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/xfs_iomap.c