diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-08 10:38:50 -0500 |
commit | 1557d33007f63dd96e5d15f33af389378e5f2e54 (patch) | |
tree | 06d05722b2ba5d2a67532f779fa8a88efe3c88f1 /net/rds/sysctl.c | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
parent | c656ae95d1c5c8ed5763356263ace2d03087efec (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6: (43 commits)
security/tomoyo: Remove now unnecessary handling of security_sysctl.
security/tomoyo: Add a special case to handle accesses through the internal proc mount.
sysctl: Drop & in front of every proc_handler.
sysctl: Remove CTL_NONE and CTL_UNNUMBERED
sysctl: kill dead ctl_handler definitions.
sysctl: Remove the last of the generic binary sysctl support
sysctl net: Remove unused binary sysctl code
sysctl security/tomoyo: Don't look at ctl_name
sysctl arm: Remove binary sysctl support
sysctl x86: Remove dead binary sysctl support
sysctl sh: Remove dead binary sysctl support
sysctl powerpc: Remove dead binary sysctl support
sysctl ia64: Remove dead binary sysctl support
sysctl s390: Remove dead sysctl binary support
sysctl frv: Remove dead binary sysctl support
sysctl mips/lasat: Remove dead binary sysctl support
sysctl drivers: Remove dead binary sysctl support
sysctl crypto: Remove dead binary sysctl support
sysctl security/keys: Remove dead binary sysctl support
sysctl kernel: Remove binary sysctl logic
...
Diffstat (limited to 'net/rds/sysctl.c')
-rw-r--r-- | net/rds/sysctl.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/net/rds/sysctl.c b/net/rds/sysctl.c index 307dc5c1be15..7829a20325d3 100644 --- a/net/rds/sysctl.c +++ b/net/rds/sysctl.c | |||
@@ -51,55 +51,50 @@ unsigned int rds_sysctl_ping_enable = 1; | |||
51 | 51 | ||
52 | static ctl_table rds_sysctl_rds_table[] = { | 52 | static ctl_table rds_sysctl_rds_table[] = { |
53 | { | 53 | { |
54 | .ctl_name = CTL_UNNUMBERED, | ||
55 | .procname = "reconnect_min_delay_ms", | 54 | .procname = "reconnect_min_delay_ms", |
56 | .data = &rds_sysctl_reconnect_min_jiffies, | 55 | .data = &rds_sysctl_reconnect_min_jiffies, |
57 | .maxlen = sizeof(unsigned long), | 56 | .maxlen = sizeof(unsigned long), |
58 | .mode = 0644, | 57 | .mode = 0644, |
59 | .proc_handler = &proc_doulongvec_ms_jiffies_minmax, | 58 | .proc_handler = proc_doulongvec_ms_jiffies_minmax, |
60 | .extra1 = &rds_sysctl_reconnect_min, | 59 | .extra1 = &rds_sysctl_reconnect_min, |
61 | .extra2 = &rds_sysctl_reconnect_max_jiffies, | 60 | .extra2 = &rds_sysctl_reconnect_max_jiffies, |
62 | }, | 61 | }, |
63 | { | 62 | { |
64 | .ctl_name = CTL_UNNUMBERED, | ||
65 | .procname = "reconnect_max_delay_ms", | 63 | .procname = "reconnect_max_delay_ms", |
66 | .data = &rds_sysctl_reconnect_max_jiffies, | 64 | .data = &rds_sysctl_reconnect_max_jiffies, |
67 | .maxlen = sizeof(unsigned long), | 65 | .maxlen = sizeof(unsigned long), |
68 | .mode = 0644, | 66 | .mode = 0644, |
69 | .proc_handler = &proc_doulongvec_ms_jiffies_minmax, | 67 | .proc_handler = proc_doulongvec_ms_jiffies_minmax, |
70 | .extra1 = &rds_sysctl_reconnect_min_jiffies, | 68 | .extra1 = &rds_sysctl_reconnect_min_jiffies, |
71 | .extra2 = &rds_sysctl_reconnect_max, | 69 | .extra2 = &rds_sysctl_reconnect_max, |
72 | }, | 70 | }, |
73 | { | 71 | { |
74 | .ctl_name = CTL_UNNUMBERED, | ||
75 | .procname = "max_unacked_packets", | 72 | .procname = "max_unacked_packets", |
76 | .data = &rds_sysctl_max_unacked_packets, | 73 | .data = &rds_sysctl_max_unacked_packets, |
77 | .maxlen = sizeof(unsigned long), | 74 | .maxlen = sizeof(unsigned long), |
78 | .mode = 0644, | 75 | .mode = 0644, |
79 | .proc_handler = &proc_dointvec, | 76 | .proc_handler = proc_dointvec, |
80 | }, | 77 | }, |
81 | { | 78 | { |
82 | .ctl_name = CTL_UNNUMBERED, | ||
83 | .procname = "max_unacked_bytes", | 79 | .procname = "max_unacked_bytes", |
84 | .data = &rds_sysctl_max_unacked_bytes, | 80 | .data = &rds_sysctl_max_unacked_bytes, |
85 | .maxlen = sizeof(unsigned long), | 81 | .maxlen = sizeof(unsigned long), |
86 | .mode = 0644, | 82 | .mode = 0644, |
87 | .proc_handler = &proc_dointvec, | 83 | .proc_handler = proc_dointvec, |
88 | }, | 84 | }, |
89 | { | 85 | { |
90 | .ctl_name = CTL_UNNUMBERED, | ||
91 | .procname = "ping_enable", | 86 | .procname = "ping_enable", |
92 | .data = &rds_sysctl_ping_enable, | 87 | .data = &rds_sysctl_ping_enable, |
93 | .maxlen = sizeof(int), | 88 | .maxlen = sizeof(int), |
94 | .mode = 0644, | 89 | .mode = 0644, |
95 | .proc_handler = &proc_dointvec, | 90 | .proc_handler = proc_dointvec, |
96 | }, | 91 | }, |
97 | { .ctl_name = 0} | 92 | { } |
98 | }; | 93 | }; |
99 | 94 | ||
100 | static struct ctl_path rds_sysctl_path[] = { | 95 | static struct ctl_path rds_sysctl_path[] = { |
101 | { .procname = "net", .ctl_name = CTL_NET, }, | 96 | { .procname = "net", }, |
102 | { .procname = "rds", .ctl_name = CTL_UNNUMBERED, }, | 97 | { .procname = "rds", }, |
103 | { } | 98 | { } |
104 | }; | 99 | }; |
105 | 100 | ||