]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_healer: fix missing HAVE_LISTMOUNT flag and stubs
authorDarrick J. Wong <djwong@kernel.org>
Tue, 19 May 2026 04:18:05 +0000 (21:18 -0700)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 19 May 2026 08:46:48 +0000 (10:46 +0200)
commitba267fe516d8fbdcd314b3fe7ff1ff948426d297
treedb55825f28e2ab34b19eca7093efdbc9e18532dc
parentb623033285faa158581ba5d345797c8a9ae66ada
xfs_healer: fix missing HAVE_LISTMOUNT flag and stubs

xfs/666 regressed with a broken xfs_healer_start that can't actually
walk the mount namespace with listmount and statmount.  The new stubs
are wrapped with HAVE_LISTMOUNT, but this cflag is not added in healer/
Makefile even if the build system has HAVE_LISTMOUNT set.

Also fix the stubs to return error correctly -- the wrappers follow C
library behavior.

Fixes: b30356f25335eb ("libfrog: add fallback stubs for libfrog_statmount and fstatmount")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
healer/Makefile
libfrog/statmount.h