diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 0f8f0280..8abcfe76 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -385,7 +385,7 @@ static void try_umount(const char *mnt) } #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) - err = path_umount(&path, 0); + err = path_umount(&path, MNT_DETACH); if (err) { pr_info("umount %s failed: %d\n", mnt, err); }