]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: constify the xfs_inode predicates
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:43:55 +0000 (12:43 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:45 +0000 (13:44 -0700)
commitb283ab3e5532e05e0432c3d3d7d9d6a9161501b6
treecdb8bafe0b100305c1c95e658a895bf93d7c116d
parent28eb509c9bc00b2dade27205a1aba93cbd6c516e
xfs: 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