[PATCH 9/59] sysctl: decnet remove unnecessary insert_at_head flag

From: Eric W. Biederman
Date: Tue Jan 16 2007 - 11:59:06 EST


From: Eric W. Biederman <ebiederm@xxxxxxxxxxxx> - unquoted

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@xxxxxxxxxxxx>
---
net/decnet/sysctl_net_decnet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/decnet/sysctl_net_decnet.c b/net/decnet/sysctl_net_decnet.c
index a4065eb..81469fd 100644
--- a/net/decnet/sysctl_net_decnet.c
+++ b/net/decnet/sysctl_net_decnet.c
@@ -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)
--
1.4.4.1.g278f

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/