]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: constify the xfs_inode predicates
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:18:48 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:30 +0000 (13:38 -0800)
commitfdf5703b61101eb29747f7ed23ad57192cf277fd
treec9474e52941fe5cb69f44846b491a97804356efe
parent8d939f4bd7b225d8b157b1329881d2719c0ecb29
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>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h