From 9ca469898c1b71239a0c7869653a056951b9dc96 Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Wed, 16 Jul 2025 22:03:28 +0800 Subject: [PATCH] Use worker for replace feature This fixes https://github.com/topjohnwu/Magisk/issues/9179. --- native/src/core/module.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/src/core/module.rs b/native/src/core/module.rs index 9274151d6..543dfe237 100644 --- a/native/src/core/module.rs +++ b/native/src/core/module.rs @@ -287,10 +287,10 @@ impl FsNode { match node { FsNode::Directory { .. } | FsNode::File { .. } => { let src = Utf8CString::from(base_dir).join_path(name); - bind_mount( + mount_dummy( "mount", &src, - path.real(), + path.worker(), matches!(node, FsNode::Directory { .. }), ); }