mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-07-28 21:33:37 +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 {
|
match node {
|
||||||
FsNode::Directory { .. } | FsNode::File { .. } => {
|
FsNode::Directory { .. } | FsNode::File { .. } => {
|
||||||
let src = Utf8CString::from(base_dir).join_path(name);
|
let src = Utf8CString::from(base_dir).join_path(name);
|
||||||
bind_mount(
|
mount_dummy(
|
||||||
"mount",
|
"mount",
|
||||||
&src,
|
&src,
|
||||||
path.real(),
|
path.worker(),
|
||||||
matches!(node, FsNode::Directory { .. }),
|
matches!(node, FsNode::Directory { .. }),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user