xfs: constify feature checks
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 04:31:20 +0000 (05:31 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 13 Jan 2025 13:57:08 +0000 (14:57 +0100)
commit183d988ae9e7ada9d7d4333e2289256e74a5ab5b
tree70e02f731f087b0413c4cf89aca0eee4709abc8d
parentdd324cb79e54d3a61621f09c346ee050315a4d2e
xfs: constify feature checks

They will eventually be needed to be const for zoned growfs, but even
now having such simpler helpers as const as possible is a good thing.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_rtgroup.c
fs/xfs/scrub/scrub.h
fs/xfs/xfs_mount.h