diff options
Diffstat (limited to 'fs/nfs/sysctl.c')
-rw-r--r-- | fs/nfs/sysctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfs/sysctl.c b/fs/nfs/sysctl.c index af51e6af2072..70e1fbbaaeab 100644 --- a/fs/nfs/sysctl.c +++ b/fs/nfs/sysctl.c | |||
@@ -26,7 +26,7 @@ static ctl_table nfs_cb_sysctls[] = { | |||
26 | .data = &nfs_callback_set_tcpport, | 26 | .data = &nfs_callback_set_tcpport, |
27 | .maxlen = sizeof(int), | 27 | .maxlen = sizeof(int), |
28 | .mode = 0644, | 28 | .mode = 0644, |
29 | .proc_handler = &proc_dointvec_minmax, | 29 | .proc_handler = proc_dointvec_minmax, |
30 | .extra1 = (int *)&nfs_set_port_min, | 30 | .extra1 = (int *)&nfs_set_port_min, |
31 | .extra2 = (int *)&nfs_set_port_max, | 31 | .extra2 = (int *)&nfs_set_port_max, |
32 | }, | 32 | }, |
@@ -35,7 +35,7 @@ static ctl_table nfs_cb_sysctls[] = { | |||
35 | .data = &nfs_idmap_cache_timeout, | 35 | .data = &nfs_idmap_cache_timeout, |
36 | .maxlen = sizeof(int), | 36 | .maxlen = sizeof(int), |
37 | .mode = 0644, | 37 | .mode = 0644, |
38 | .proc_handler = &proc_dointvec_jiffies, | 38 | .proc_handler = proc_dointvec_jiffies, |
39 | }, | 39 | }, |
40 | #endif | 40 | #endif |
41 | { | 41 | { |
@@ -43,14 +43,14 @@ static ctl_table nfs_cb_sysctls[] = { | |||
43 | .data = &nfs_mountpoint_expiry_timeout, | 43 | .data = &nfs_mountpoint_expiry_timeout, |
44 | .maxlen = sizeof(nfs_mountpoint_expiry_timeout), | 44 | .maxlen = sizeof(nfs_mountpoint_expiry_timeout), |
45 | .mode = 0644, | 45 | .mode = 0644, |
46 | .proc_handler = &proc_dointvec_jiffies, | 46 | .proc_handler = proc_dointvec_jiffies, |
47 | }, | 47 | }, |
48 | { | 48 | { |
49 | .procname = "nfs_congestion_kb", | 49 | .procname = "nfs_congestion_kb", |
50 | .data = &nfs_congestion_kb, | 50 | .data = &nfs_congestion_kb, |
51 | .maxlen = sizeof(nfs_congestion_kb), | 51 | .maxlen = sizeof(nfs_congestion_kb), |
52 | .mode = 0644, | 52 | .mode = 0644, |
53 | .proc_handler = &proc_dointvec, | 53 | .proc_handler = proc_dointvec, |
54 | }, | 54 | }, |
55 | { } | 55 | { } |
56 | }; | 56 | }; |