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