diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-09 17:24:30 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-24 16:40:28 -0800 |
commit | 938aaa4f9249aa1519fd0db07fc72125de2df338 (patch) | |
tree | fd248564e8988e95966cd425f3f96ce7d094ae1c /lib/mpi/mpi-add.c | |
parent | 3cc3e04636d603778d921854b84ae7bd34a349a2 (diff) |
sysctl: Initial support for auto-unregistering sysctl tables.
Add nreg to ctl_table_header. When nreg drops to 0 the ctl_table_header
will be unregistered.
Factor out drop_sysctl_table from unregister_sysctl_table, and add
the logic for decrementing nreg.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions