]> git.proxmox.com Git - mirror_spl.git/commit - config/spl-build.m4
Linux-2.6.33 compat, .ctl_name removed from struct ctl_table
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 30 Jun 2010 17:36:20 +0000 (10:36 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 30 Jun 2010 19:49:12 +0000 (12:49 -0700)
commit79a3bf130b78cae41be339917788dde0b45c7d84
treecb6111d1ffad3e307cad4498f77808adef06fa57
parentfd921c2e0c36c0c658031bc8bf4a3f912a3349f7
Linux-2.6.33 compat, .ctl_name removed from struct ctl_table

As of linux-2.6.33 the ctl_name member of the ctl_table struct
has been entirely removed.  The upstream code has been updated
to depend entirely on the the procname member.  To handle this
all references to ctl_name are wrapped in a CTL_NAME macro which
simply expands to nothing for newer kernels.  Older kernels are
supported by having it expand to .ctl_name = X just as before.
config/spl-build.m4
configure
include/linux/proc_compat.h
module/spl/spl-proc.c
spl_config.h.in