]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
configure: always check for statmount supported_mask
authorAnthony Iliopoulos <ailiop@suse.com>
Wed, 13 May 2026 19:30:37 +0000 (21:30 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Thu, 14 May 2026 11:03:23 +0000 (13:03 +0200)
commit5a26358ae3d959a9baa2bc63e45cdd723be8e25a
treee2eb4bf4f3584571d28e81ef7acc22173b87264c
parent46efb75687bd1ad1b6848cece78c201b27e42d31
configure: always check for statmount supported_mask

On systems with kernel headers older than v6.8 that preceed the addition
of the statmount syscall, have_listmount will be set to false and thus
checking of the statmount supported_mask is being skipped since the
check is currently conditional to listmount support.

This causes compilation failures since need_internal_statmount will not
be set, and thus struct statmount will not be available to xfs_healer.

Fix this by always checking for statmount supported_mask support even
when listmount is not available.

Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
configure.ac