]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: constify the xfs_sb predicates
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:18:47 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:30 +0000 (13:38 -0800)
commit8d939f4bd7b225d8b157b1329881d2719c0ecb29
tree97cf3de1145e3c4cca67321da0e7c20eae0938c3
parente5e5cae05b71aa5b5e291c0e74b4e4d98a0b05d4
xfs: constify the xfs_sb predicates

Change the xfs_sb predicates to take a const struct xfs_sb pointer
because they do not change the superblock.

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