path: root/ipc/ipc_sysctl.c
diff options
authorEric W. Biederman <>2007-02-14 00:34:09 -0800
committerLinus Torvalds <>2007-02-14 08:09:59 -0800
commit0b4d414714f0d2f922d39424b0c5c82ad900a381 (patch)
tree5079ec59a5622c9cacfe0fce484ba2c4626c406f /ipc/ipc_sysctl.c
parentae836810263509ff7a3c2c021754ce6f66b3fab6 (diff)
[PATCH] sysctl: remove insert_at_head from register_sysctl
The semantic effect of insert_at_head is that it would allow new registered sysctl entries to override existing sysctl entries of the same name. Which is pain for caching and the proc interface never implemented. I have done an audit and discovered that none of the current users of register_sysctl care as (excpet for directories) they do not register duplicate sysctl entries. So this patch simply removes the support for overriding existing entries in the sys_sysctl interface since no one uses it or cares and it makes future enhancments harder. Signed-off-by: Eric W. Biederman <> Acked-by: Ralf Baechle <> Acked-by: Martin Schwidefsky <> Cc: Russell King <> Cc: David Howells <> Cc: "Luck, Tony" <> Cc: Ralf Baechle <> Cc: Paul Mackerras <> Cc: Martin Schwidefsky <> Cc: Andi Kleen <> Cc: Jens Axboe <> Cc: Corey Minyard <> Cc: Neil Brown <> Cc: "John W. Linville" <> Cc: James Bottomley <> Cc: Jan Kara <> Cc: Trond Myklebust <> Cc: Mark Fasheh <> Cc: David Chinner <> Cc: "David S. Miller" <> Cc: Patrick McHardy <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'ipc/ipc_sysctl.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c
index 2c17d83b9093..a88934a1b769 100644
--- a/ipc/ipc_sysctl.c
+++ b/ipc/ipc_sysctl.c
@@ -176,7 +176,7 @@ static struct ctl_table ipc_root_table[] = {
static int __init ipc_sysctl_init(void)
- register_sysctl_table(ipc_root_table, 0);
+ register_sysctl_table(ipc_root_table);
return 0;