mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-07-28 13:33:38 +00:00
Use worker for replace feature
This fixes https://github.com/topjohnwu/Magisk/issues/9179.
This commit is contained in:
parent
0665549473
commit
9ca469898c
@ -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 { .. }),
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user