diff options
author | Coleman Kane <[email protected]> | 2023-08-02 17:05:46 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2023-09-19 08:50:01 -0700 |
commit | 31a4673c05ea942498a278d9dd519f251b501db1 (patch) | |
tree | 9c02a8b3bc60d521150af157eee3b6b54fe10884 /config/kernel-shrink.m4 | |
parent | 3a68f3c50f82ec87d74b255e3a0db504ff366211 (diff) |
Linux 6.5 compat: register_sysctl_table removed
Additionally, the .child element of ctl_table has been removed in 6.5.
This change adds a new test for the pre-6.5 register_sysctl_table()
function, and uses the old code in that case. If it isn't found, then
the parentage entries in the tables are removed, and the register_sysctl
call is provided the paths of "kernel/spl", "kernel/spl/kmem", and
"kernel/spl/kstat" directly, to populate each subdirectory over three
calls, as is the new API.
Reviewed-by: Brian Atkinson <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Coleman Kane <[email protected]>
Closes #15138
Diffstat (limited to 'config/kernel-shrink.m4')
0 files changed, 0 insertions, 0 deletions