]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: constify xfs_bmap_is_written_extent
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:34 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:00:59 +0000 (17:00 -0700)
commita995c2d7f6b9281afc7df2cefb832f36d33b4223
treef531b5a0628a0f47cd20cf7368ce0156d4f5f07e
parentfd841d7c93e9b15b7a32fdf194e7eef9bfe17dbc
xfs: constify xfs_bmap_is_written_extent

Source kernel commit: 15f78aa3eb07645e7bef15a53b4ae1c757907d2c

This predicate doesn't modify the structure that's being passed in, so
we can mark it const.

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