]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: clean up the ISVALID macro in xfs_bmap_adjacent
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Oct 2024 19:43:41 +0000 (12:43 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:40 +0000 (13:44 -0700)
commita40de0026f867e3e7e7a26f23940d462b682e817
tree41b4ad64e5299371bb75f5a295257fe050dcbf3c
parentbb48498f6b3947d38cc0b01319f83a8fa14b2ddd
xfs: clean up the ISVALID macro in xfs_bmap_adjacent

Source kernel commit: 1e21d1897f935815618d419c94e88452070ec8e5

Turn the  ISVALID macro defined and used inside in xfs_bmap_adjacent
that relies on implict context into a proper inline function.

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>
libxfs/xfs_bmap.c