diff options
| author | Takashi Iwai <tiwai@suse.de> | 2009-12-15 04:29:06 -0500 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2009-12-15 04:29:06 -0500 |
| commit | 709334c87dbdb44150ce436b3d13c814db0dcae9 (patch) | |
| tree | 5861a45f70c1f283720337abd864498f5afb3dbe /net/rds/sysctl.c | |
| parent | 0d64b568fcd48b133721c1d322e7c51d85eb12df (diff) | |
| parent | f74890277a196949e4004fe2955e1d4fb3930f98 (diff) | |
Merge branch 'fixes' of git://git.alsa-project.org/alsa-kernel into for-linus
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 | ||
