diff options
author | Rob Norris <[email protected]> | 2024-09-19 13:03:47 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-09-19 15:43:44 -0700 |
commit | a83762b3f4d95506c7d9e47a0543a8d01f2b1fe2 (patch) | |
tree | 66fd2d5f7fa4a58d9fac30b8bfb948cf2160abfe /module/os/linux/spl/spl-proc.c | |
parent | a877b396245eb40d8ccc4d0be6f3260e30a46053 (diff) |
linux: remove kernel version checks for unsupported kernels
Following 2b069768a (#16479), anything gated on a kernel version before
4.18 can be always included/excluded.
Sponsored-by: https://despairlabs.com/sponsor/
Reviewed by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Tino Reichardt <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Closes #16545
Diffstat (limited to 'module/os/linux/spl/spl-proc.c')
-rw-r--r-- | module/os/linux/spl/spl-proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/linux/spl/spl-proc.c b/module/os/linux/spl/spl-proc.c index 9fefcd03c..9af192274 100644 --- a/module/os/linux/spl/spl-proc.c +++ b/module/os/linux/spl/spl-proc.c @@ -39,7 +39,7 @@ #include <linux/version.h> #include "zfs_gitrev.h" -#if defined(CONSTIFY_PLUGIN) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) +#if defined(CONSTIFY_PLUGIN) typedef struct ctl_table __no_const spl_ctl_table; #else typedef struct ctl_table spl_ctl_table; |