]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: clean up the ISVALID macro in xfs_bmap_adjacent
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2024 22:37:09 +0000 (15:37 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commit1e21d1897f935815618d419c94e88452070ec8e5
tree6088c7022e1105924d9c68ccb25ed50d784fd0d0
parentdf8b181f1551581e96076a653cdca43468093c0f
xfs: clean up the ISVALID macro in xfs_bmap_adjacent

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