From dc3de58aa6d01845d1b8159b6eb597db347c3f93 Mon Sep 17 00:00:00 2001 From: fc5b87cf Date: Mon, 17 Nov 2025 22:12:23 +0700 Subject: [PATCH] kernel: fix compatibility with 5.10 Signed-off-by: fc5b87cf --- kernel/kernel_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kernel_compat.h b/kernel/kernel_compat.h index 3f19b1f0..c3166602 100644 --- a/kernel/kernel_compat.h +++ b/kernel/kernel_compat.h @@ -80,7 +80,7 @@ extern struct key *init_session_keyring; static inline int do_close_fd(unsigned int fd) { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) return close_fd(fd); #else return __close_fd(current->files, fd);