aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-01-10 01:19:13 -0500
committerEric W. Biederman <ebiederm@xmission.com>2012-01-24 19:37:55 -0500
commit97324cd804b7b9fb6044e114329335db79810425 (patch)
treeffebd82bb36069d38b9063328920f39434eb5155 /include
parenta15e20982e2fbb06e85da584a0f150784042c17d (diff)
sysctl: Implement retire_sysctl_set
This adds a small helper retire_sysctl_set to remove the intimate knowledge about the how a sysctl_set is implemented from net/sysct_net.c Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sysctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 08cabbfddacb..475ff0e35e63 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -1072,6 +1072,7 @@ void proc_sys_poll_notify(struct ctl_table_poll *poll);
1072extern void setup_sysctl_set(struct ctl_table_set *p, 1072extern void setup_sysctl_set(struct ctl_table_set *p,
1073 struct ctl_table_set *parent, 1073 struct ctl_table_set *parent,
1074 int (*is_seen)(struct ctl_table_set *)); 1074 int (*is_seen)(struct ctl_table_set *));
1075extern void retire_sysctl_set(struct ctl_table_set *set);
1075 1076
1076void register_sysctl_root(struct ctl_table_root *root); 1077void register_sysctl_root(struct ctl_table_root *root);
1077struct ctl_table_header *__register_sysctl_paths( 1078struct ctl_table_header *__register_sysctl_paths(