Commit 7e35280e517c28b991667a608990227503dd2a30

Authored by Eric W. Biederman
Committed by Linus Torvalds
1 parent 50d851f722

[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>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -36,7 +36,7 @@
36 36 rpc_register_sysctl(void)
37 37 {
38 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 40 #ifdef CONFIG_PROC_FS
41 41 if (sunrpc_table[0].de)
42 42 sunrpc_table[0].de->owner = THIS_MODULE;
net/sunrpc/xprtsock.c
... ... @@ -1636,7 +1636,7 @@
1636 1636 {
1637 1637 #ifdef RPC_DEBUG
1638 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 1640 #ifdef CONFIG_PROC_FS
1641 1641 if (sunrpc_table[0].de)
1642 1642 sunrpc_table[0].de->owner = THIS_MODULE;