]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: constify the xfs_inode predicates
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:11 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:25 +0000 (18:01 -0800)
commitb99309ee42d6a31fc49eb9f5cfdbf0d4b95ddb32
tree49d07e14cfa40e752bcf17a210e13771c057bbe3
parentbfc916d8ef514719a2821bb3060f591f77404b15
libxfs: constify the xfs_inode predicates

Change the xfs_inode predicates to take a const struct xfs_inode pointer
because they do not change the inode.

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