diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 1288de69..5b8f6fc2 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -521,7 +521,7 @@ static bool should_umount(struct path *path) static void ksu_umount_mnt(struct path *path, int flags) { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) || KSU_UMOUNT +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) || defined(KSU_UMOUNT) int err = path_umount(path, flags); if (err) { pr_info("umount %s failed: %d\n", path->dentry->d_iname, err);