diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-10 05:24:30 +0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-25 04:40:28 +0400 |
commit | 938aaa4f9249aa1519fd0db07fc72125de2df338 (patch) | |
tree | fd248564e8988e95966cd425f3f96ce7d094ae1c /lib/mpi/mpiutil.c | |
parent | 3cc3e04636d603778d921854b84ae7bd34a349a2 (diff) | |
download | linux-938aaa4f9249aa1519fd0db07fc72125de2df338.tar.xz |
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/mpiutil.c')
0 files changed, 0 insertions, 0 deletions