diff options
-rw-r--r-- | src/kernel/xloop_main_5.15.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/xloop_main_5.15.c b/src/kernel/xloop_main_5.15.c index bc869b8..5e02fdd 100644 --- a/src/kernel/xloop_main_5.15.c +++ b/src/kernel/xloop_main_5.15.c @@ -97,7 +97,8 @@ #define XLOOP_IDLE_WORKER_TIMEOUT (60 * HZ) -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 132) || \ + (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0)) #define GENHD_FL_NO_PART GENHD_FL_NO_PART_SCAN #endif |