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);