Skip to content

Commit a54eca1

Browse files
committed
kernel/core_hook.c: use warning instead
Tell builders that they can backport path_umount and point them to KernelSU's documentation.
1 parent e4a0329 commit a54eca1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kernel/core_hook.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,9 @@ static void ksu_umount_mnt(struct path *path, int flags)
519519
pr_info("umount %s failed: %d\n", path->dentry->d_iname, err);
520520
}
521521
#else
522-
#error Make sure to backport path_umount to fs/namespace.c from 5.9! Read: https://kernelsu.org/guide/how-to-integrate-for-non-gki.html#backport-path_umount-from-linux-59
522+
// TODO: umount for non GKI kernel
523+
#warning Did you know you can backport path_umount to fs/namespace.c from 5.9?
524+
#warning https://kernelsu.org/guide/how-to-integrate-for-non-gki.html#backport-path_umount-from-linux-59
523525
#endif
524526
}
525527

0 commit comments

Comments
 (0)