From 7a666fb196a5b2a9183b94f117b160f9448f21cb Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 2 Oct 2024 12:15:40 +0200 Subject: [PATCH] libmount: fix mnt_fs_match_target() Signed-off-by: Karel Zak --- libmount/src/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/src/fs.c b/libmount/src/fs.c index 323b74d7a..999fec49b 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -1694,7 +1694,7 @@ int mnt_fs_match_target(struct libmnt_fs *fs, const char *target, if (!fs || !target) return 0; #ifdef HAVE_STATMOUNT_API - mnt_fs_try_statmount(fs, target, STATMOUNT_MNT_BASIC); + mnt_fs_try_statmount(fs, target, STATMOUNT_MNT_POINT); #endif if (!fs->target) return 0; -- 2.47.3