]> Pileus Git - ~andy/linux/commitdiff
[PATCH] sysctl: decnet: remove unnecessary insert_at_head flag
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:28 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:55 +0000 (08:09 -0800)
The sysctl numbers used are unique so setting the insert_at_head flag does not
succeed in overriding any sysctls, and is just confusing because it doesn't.
Clear the flag.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Patrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/decnet/sysctl_net_decnet.c

index a6c067b593ab480d4757610e1361cb447647369b..70a8cf2775dfe5c04694bd5ac89351fed383d5b6 100644 (file)
@@ -491,7 +491,7 @@ static ctl_table dn_root_table[] = {
 
 void dn_register_sysctl(void)
 {
-       dn_table_header = register_sysctl_table(dn_root_table, 1);
+       dn_table_header = register_sysctl_table(dn_root_table, 0);
 }
 
 void dn_unregister_sysctl(void)