aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 03:33:23 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 11:09:55 -0500
commit7e35280e517c28b991667a608990227503dd2a30 (patch)
tree8253209f6c30f29eac09dd907d45e7ecaa9b9577 /net
parent50d851f7227cf9e7fcc4cd1d2b3c72ddd64c50e6 (diff)
[PATCH] sysctl: sunrpc: remove unnecessary insert_at_head flag
Because the sunrpc sysctls don't conflict with any other sysctls the setting the insert at head flag to register_sysctl has no semantic meaning. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Cc: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/sysctl.c2
-rw-r--r--net/sunrpc/xprtsock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c
index 47d8df2b5eb2..64ce7098f541 100644
--- a/net/sunrpc/sysctl.c
+++ b/net/sunrpc/sysctl.c
@@ -36,7 +36,7 @@ void
36rpc_register_sysctl(void) 36rpc_register_sysctl(void)
37{ 37{
38 if (!sunrpc_table_header) { 38 if (!sunrpc_table_header) {
39 sunrpc_table_header = register_sysctl_table(sunrpc_table, 1); 39 sunrpc_table_header = register_sysctl_table(sunrpc_table, 0);
40#ifdef CONFIG_PROC_FS 40#ifdef CONFIG_PROC_FS
41 if (sunrpc_table[0].de) 41 if (sunrpc_table[0].de)
42 sunrpc_table[0].de->owner = THIS_MODULE; 42 sunrpc_table[0].de->owner = THIS_MODULE;
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 95e03ad1c555..389b1180911a 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -1636,7 +1636,7 @@ int init_socket_xprt(void)
1636{ 1636{
1637#ifdef RPC_DEBUG 1637#ifdef RPC_DEBUG
1638 if (!sunrpc_table_header) { 1638 if (!sunrpc_table_header) {
1639 sunrpc_table_header = register_sysctl_table(sunrpc_table, 1); 1639 sunrpc_table_header = register_sysctl_table(sunrpc_table, 0);
1640#ifdef CONFIG_PROC_FS 1640#ifdef CONFIG_PROC_FS
1641 if (sunrpc_table[0].de) 1641 if (sunrpc_table[0].de)
1642 sunrpc_table[0].de->owner = THIS_MODULE; 1642 sunrpc_table[0].de->owner = THIS_MODULE;