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