aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/coda/sysctl.c6
-rw-r--r--fs/eventpoll.c2
-rw-r--r--fs/lockd/svc.c12
-rw-r--r--fs/nfs/sysctl.c8
-rw-r--r--fs/notify/inotify/inotify_user.c6
-rw-r--r--fs/ntfs/sysctl.c2
-rw-r--r--fs/ocfs2/stackglue.c2
-rw-r--r--fs/quota/dquot.c18
-rw-r--r--fs/xfs/linux-2.6/xfs_sysctl.c30
9 files changed, 43 insertions, 43 deletions
diff --git a/fs/coda/sysctl.c b/fs/coda/sysctl.c
index 354c050d4263..c6405ce3c50e 100644
--- a/fs/coda/sysctl.c
+++ b/fs/coda/sysctl.c
@@ -21,21 +21,21 @@ static ctl_table coda_table[] = {
21 .data = &coda_timeout, 21 .data = &coda_timeout,
22 .maxlen = sizeof(int), 22 .maxlen = sizeof(int),
23 .mode = 0644, 23 .mode = 0644,
24 .proc_handler = &proc_dointvec 24 .proc_handler = proc_dointvec
25 }, 25 },
26 { 26 {
27 .procname = "hard", 27 .procname = "hard",
28 .data = &coda_hard, 28 .data = &coda_hard,
29 .maxlen = sizeof(int), 29 .maxlen = sizeof(int),
30 .mode = 0644, 30 .mode = 0644,
31 .proc_handler = &proc_dointvec 31 .proc_handler = proc_dointvec
32 }, 32 },
33 { 33 {
34 .procname = "fake_statfs", 34 .procname = "fake_statfs",
35 .data = &coda_fake_statfs, 35 .data = &coda_fake_statfs,
36 .maxlen = sizeof(int), 36 .maxlen = sizeof(int),
37 .mode = 0600, 37 .mode = 0600,
38 .proc_handler = &proc_dointvec 38 .proc_handler = proc_dointvec
39 }, 39 },
40 {} 40 {}
41}; 41};
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 70aa66c96c51..366c503f9657 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -251,7 +251,7 @@ ctl_table epoll_table[] = {
251 .data = &max_user_watches, 251 .data = &max_user_watches,
252 .maxlen = sizeof(int), 252 .maxlen = sizeof(int),
253 .mode = 0644, 253 .mode = 0644,
254 .proc_handler = &proc_dointvec_minmax, 254 .proc_handler = proc_dointvec_minmax,
255 .extra1 = &zero, 255 .extra1 = &zero,
256 }, 256 },
257 { } 257 { }
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index 307ed4c3e1f5..e50cfa3d9654 100644
--- a/fs/lockd/svc.c
+++ b/fs/lockd/svc.c
@@ -375,7 +375,7 @@ static ctl_table nlm_sysctls[] = {
375 .data = &nlm_grace_period, 375 .data = &nlm_grace_period,
376 .maxlen = sizeof(unsigned long), 376 .maxlen = sizeof(unsigned long),
377 .mode = 0644, 377 .mode = 0644,
378 .proc_handler = &proc_doulongvec_minmax, 378 .proc_handler = proc_doulongvec_minmax,
379 .extra1 = (unsigned long *) &nlm_grace_period_min, 379 .extra1 = (unsigned long *) &nlm_grace_period_min,
380 .extra2 = (unsigned long *) &nlm_grace_period_max, 380 .extra2 = (unsigned long *) &nlm_grace_period_max,
381 }, 381 },
@@ -384,7 +384,7 @@ static ctl_table nlm_sysctls[] = {
384 .data = &nlm_timeout, 384 .data = &nlm_timeout,
385 .maxlen = sizeof(unsigned long), 385 .maxlen = sizeof(unsigned long),
386 .mode = 0644, 386 .mode = 0644,
387 .proc_handler = &proc_doulongvec_minmax, 387 .proc_handler = proc_doulongvec_minmax,
388 .extra1 = (unsigned long *) &nlm_timeout_min, 388 .extra1 = (unsigned long *) &nlm_timeout_min,
389 .extra2 = (unsigned long *) &nlm_timeout_max, 389 .extra2 = (unsigned long *) &nlm_timeout_max,
390 }, 390 },
@@ -393,7 +393,7 @@ static ctl_table nlm_sysctls[] = {
393 .data = &nlm_udpport, 393 .data = &nlm_udpport,
394 .maxlen = sizeof(int), 394 .maxlen = sizeof(int),
395 .mode = 0644, 395 .mode = 0644,
396 .proc_handler = &proc_dointvec_minmax, 396 .proc_handler = proc_dointvec_minmax,
397 .extra1 = (int *) &nlm_port_min, 397 .extra1 = (int *) &nlm_port_min,
398 .extra2 = (int *) &nlm_port_max, 398 .extra2 = (int *) &nlm_port_max,
399 }, 399 },
@@ -402,7 +402,7 @@ static ctl_table nlm_sysctls[] = {
402 .data = &nlm_tcpport, 402 .data = &nlm_tcpport,
403 .maxlen = sizeof(int), 403 .maxlen = sizeof(int),
404 .mode = 0644, 404 .mode = 0644,
405 .proc_handler = &proc_dointvec_minmax, 405 .proc_handler = proc_dointvec_minmax,
406 .extra1 = (int *) &nlm_port_min, 406 .extra1 = (int *) &nlm_port_min,
407 .extra2 = (int *) &nlm_port_max, 407 .extra2 = (int *) &nlm_port_max,
408 }, 408 },
@@ -411,14 +411,14 @@ static ctl_table nlm_sysctls[] = {
411 .data = &nsm_use_hostnames, 411 .data = &nsm_use_hostnames,
412 .maxlen = sizeof(int), 412 .maxlen = sizeof(int),
413 .mode = 0644, 413 .mode = 0644,
414 .proc_handler = &proc_dointvec, 414 .proc_handler = proc_dointvec,
415 }, 415 },
416 { 416 {
417 .procname = "nsm_local_state", 417 .procname = "nsm_local_state",
418 .data = &nsm_local_state, 418 .data = &nsm_local_state,
419 .maxlen = sizeof(int), 419 .maxlen = sizeof(int),
420 .mode = 0644, 420 .mode = 0644,
421 .proc_handler = &proc_dointvec, 421 .proc_handler = proc_dointvec,
422 }, 422 },
423 { } 423 { }
424}; 424};
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};
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index 5275921ed1ce..1d1d1a2765dd 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -73,7 +73,7 @@ ctl_table inotify_table[] = {
73 .data = &inotify_max_user_instances, 73 .data = &inotify_max_user_instances,
74 .maxlen = sizeof(int), 74 .maxlen = sizeof(int),
75 .mode = 0644, 75 .mode = 0644,
76 .proc_handler = &proc_dointvec_minmax, 76 .proc_handler = proc_dointvec_minmax,
77 .extra1 = &zero, 77 .extra1 = &zero,
78 }, 78 },
79 { 79 {
@@ -81,7 +81,7 @@ ctl_table inotify_table[] = {
81 .data = &inotify_max_user_watches, 81 .data = &inotify_max_user_watches,
82 .maxlen = sizeof(int), 82 .maxlen = sizeof(int),
83 .mode = 0644, 83 .mode = 0644,
84 .proc_handler = &proc_dointvec_minmax, 84 .proc_handler = proc_dointvec_minmax,
85 .extra1 = &zero, 85 .extra1 = &zero,
86 }, 86 },
87 { 87 {
@@ -89,7 +89,7 @@ ctl_table inotify_table[] = {
89 .data = &inotify_max_queued_events, 89 .data = &inotify_max_queued_events,
90 .maxlen = sizeof(int), 90 .maxlen = sizeof(int),
91 .mode = 0644, 91 .mode = 0644,
92 .proc_handler = &proc_dointvec_minmax, 92 .proc_handler = proc_dointvec_minmax,
93 .extra1 = &zero 93 .extra1 = &zero
94 }, 94 },
95 { } 95 { }
diff --git a/fs/ntfs/sysctl.c b/fs/ntfs/sysctl.c
index 99612ea690c2..79a89184cb5e 100644
--- a/fs/ntfs/sysctl.c
+++ b/fs/ntfs/sysctl.c
@@ -40,7 +40,7 @@ static ctl_table ntfs_sysctls[] = {
40 .data = &debug_msgs, /* Data pointer and size. */ 40 .data = &debug_msgs, /* Data pointer and size. */
41 .maxlen = sizeof(debug_msgs), 41 .maxlen = sizeof(debug_msgs),
42 .mode = 0644, /* Mode, proc handler. */ 42 .mode = 0644, /* Mode, proc handler. */
43 .proc_handler = &proc_dointvec 43 .proc_handler = proc_dointvec
44 }, 44 },
45 {} 45 {}
46}; 46};
diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c
index ed12c1161479..f3df0baa9a48 100644
--- a/fs/ocfs2/stackglue.c
+++ b/fs/ocfs2/stackglue.c
@@ -624,7 +624,7 @@ static ctl_table ocfs2_nm_table[] = {
624 .data = ocfs2_hb_ctl_path, 624 .data = ocfs2_hb_ctl_path,
625 .maxlen = OCFS2_MAX_HB_CTL_PATH, 625 .maxlen = OCFS2_MAX_HB_CTL_PATH,
626 .mode = 0644, 626 .mode = 0644,
627 .proc_handler = &proc_dostring, 627 .proc_handler = proc_dostring,
628 }, 628 },
629 { } 629 { }
630}; 630};
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index 60940f8709d6..f0eb200d8f8e 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -2477,56 +2477,56 @@ static ctl_table fs_dqstats_table[] = {
2477 .data = &dqstats.lookups, 2477 .data = &dqstats.lookups,
2478 .maxlen = sizeof(int), 2478 .maxlen = sizeof(int),
2479 .mode = 0444, 2479 .mode = 0444,
2480 .proc_handler = &proc_dointvec, 2480 .proc_handler = proc_dointvec,
2481 }, 2481 },
2482 { 2482 {
2483 .procname = "drops", 2483 .procname = "drops",
2484 .data = &dqstats.drops, 2484 .data = &dqstats.drops,
2485 .maxlen = sizeof(int), 2485 .maxlen = sizeof(int),
2486 .mode = 0444, 2486 .mode = 0444,
2487 .proc_handler = &proc_dointvec, 2487 .proc_handler = proc_dointvec,
2488 }, 2488 },
2489 { 2489 {
2490 .procname = "reads", 2490 .procname = "reads",
2491 .data = &dqstats.reads, 2491 .data = &dqstats.reads,
2492 .maxlen = sizeof(int), 2492 .maxlen = sizeof(int),
2493 .mode = 0444, 2493 .mode = 0444,
2494 .proc_handler = &proc_dointvec, 2494 .proc_handler = proc_dointvec,
2495 }, 2495 },
2496 { 2496 {
2497 .procname = "writes", 2497 .procname = "writes",
2498 .data = &dqstats.writes, 2498 .data = &dqstats.writes,
2499 .maxlen = sizeof(int), 2499 .maxlen = sizeof(int),
2500 .mode = 0444, 2500 .mode = 0444,
2501 .proc_handler = &proc_dointvec, 2501 .proc_handler = proc_dointvec,
2502 }, 2502 },
2503 { 2503 {
2504 .procname = "cache_hits", 2504 .procname = "cache_hits",
2505 .data = &dqstats.cache_hits, 2505 .data = &dqstats.cache_hits,
2506 .maxlen = sizeof(int), 2506 .maxlen = sizeof(int),
2507 .mode = 0444, 2507 .mode = 0444,
2508 .proc_handler = &proc_dointvec, 2508 .proc_handler = proc_dointvec,
2509 }, 2509 },
2510 { 2510 {
2511 .procname = "allocated_dquots", 2511 .procname = "allocated_dquots",
2512 .data = &dqstats.allocated_dquots, 2512 .data = &dqstats.allocated_dquots,
2513 .maxlen = sizeof(int), 2513 .maxlen = sizeof(int),
2514 .mode = 0444, 2514 .mode = 0444,
2515 .proc_handler = &proc_dointvec, 2515 .proc_handler = proc_dointvec,
2516 }, 2516 },
2517 { 2517 {
2518 .procname = "free_dquots", 2518 .procname = "free_dquots",
2519 .data = &dqstats.free_dquots, 2519 .data = &dqstats.free_dquots,
2520 .maxlen = sizeof(int), 2520 .maxlen = sizeof(int),
2521 .mode = 0444, 2521 .mode = 0444,
2522 .proc_handler = &proc_dointvec, 2522 .proc_handler = proc_dointvec,
2523 }, 2523 },
2524 { 2524 {
2525 .procname = "syncs", 2525 .procname = "syncs",
2526 .data = &dqstats.syncs, 2526 .data = &dqstats.syncs,
2527 .maxlen = sizeof(int), 2527 .maxlen = sizeof(int),
2528 .mode = 0444, 2528 .mode = 0444,
2529 .proc_handler = &proc_dointvec, 2529 .proc_handler = proc_dointvec,
2530 }, 2530 },
2531#ifdef CONFIG_PRINT_QUOTA_WARNING 2531#ifdef CONFIG_PRINT_QUOTA_WARNING
2532 { 2532 {
@@ -2534,7 +2534,7 @@ static ctl_table fs_dqstats_table[] = {
2534 .data = &flag_print_warnings, 2534 .data = &flag_print_warnings,
2535 .maxlen = sizeof(int), 2535 .maxlen = sizeof(int),
2536 .mode = 0644, 2536 .mode = 0644,
2537 .proc_handler = &proc_dointvec, 2537 .proc_handler = proc_dointvec,
2538 }, 2538 },
2539#endif 2539#endif
2540 { }, 2540 { },
diff --git a/fs/xfs/linux-2.6/xfs_sysctl.c b/fs/xfs/linux-2.6/xfs_sysctl.c
index 6880147cafa8..7bb5092d6ae4 100644
--- a/fs/xfs/linux-2.6/xfs_sysctl.c
+++ b/fs/xfs/linux-2.6/xfs_sysctl.c
@@ -59,7 +59,7 @@ static ctl_table xfs_table[] = {
59 .data = &xfs_params.sgid_inherit.val, 59 .data = &xfs_params.sgid_inherit.val,
60 .maxlen = sizeof(int), 60 .maxlen = sizeof(int),
61 .mode = 0644, 61 .mode = 0644,
62 .proc_handler = &proc_dointvec_minmax, 62 .proc_handler = proc_dointvec_minmax,
63 .extra1 = &xfs_params.sgid_inherit.min, 63 .extra1 = &xfs_params.sgid_inherit.min,
64 .extra2 = &xfs_params.sgid_inherit.max 64 .extra2 = &xfs_params.sgid_inherit.max
65 }, 65 },
@@ -68,7 +68,7 @@ static ctl_table xfs_table[] = {
68 .data = &xfs_params.symlink_mode.val, 68 .data = &xfs_params.symlink_mode.val,
69 .maxlen = sizeof(int), 69 .maxlen = sizeof(int),
70 .mode = 0644, 70 .mode = 0644,
71 .proc_handler = &proc_dointvec_minmax, 71 .proc_handler = proc_dointvec_minmax,
72 .extra1 = &xfs_params.symlink_mode.min, 72 .extra1 = &xfs_params.symlink_mode.min,
73 .extra2 = &xfs_params.symlink_mode.max 73 .extra2 = &xfs_params.symlink_mode.max
74 }, 74 },
@@ -77,7 +77,7 @@ static ctl_table xfs_table[] = {
77 .data = &xfs_params.panic_mask.val, 77 .data = &xfs_params.panic_mask.val,
78 .maxlen = sizeof(int), 78 .maxlen = sizeof(int),
79 .mode = 0644, 79 .mode = 0644,
80 .proc_handler = &proc_dointvec_minmax, 80 .proc_handler = proc_dointvec_minmax,
81 .extra1 = &xfs_params.panic_mask.min, 81 .extra1 = &xfs_params.panic_mask.min,
82 .extra2 = &xfs_params.panic_mask.max 82 .extra2 = &xfs_params.panic_mask.max
83 }, 83 },
@@ -87,7 +87,7 @@ static ctl_table xfs_table[] = {
87 .data = &xfs_params.error_level.val, 87 .data = &xfs_params.error_level.val,
88 .maxlen = sizeof(int), 88 .maxlen = sizeof(int),
89 .mode = 0644, 89 .mode = 0644,
90 .proc_handler = &proc_dointvec_minmax, 90 .proc_handler = proc_dointvec_minmax,
91 .extra1 = &xfs_params.error_level.min, 91 .extra1 = &xfs_params.error_level.min,
92 .extra2 = &xfs_params.error_level.max 92 .extra2 = &xfs_params.error_level.max
93 }, 93 },
@@ -96,7 +96,7 @@ static ctl_table xfs_table[] = {
96 .data = &xfs_params.syncd_timer.val, 96 .data = &xfs_params.syncd_timer.val,
97 .maxlen = sizeof(int), 97 .maxlen = sizeof(int),
98 .mode = 0644, 98 .mode = 0644,
99 .proc_handler = &proc_dointvec_minmax, 99 .proc_handler = proc_dointvec_minmax,
100 .extra1 = &xfs_params.syncd_timer.min, 100 .extra1 = &xfs_params.syncd_timer.min,
101 .extra2 = &xfs_params.syncd_timer.max 101 .extra2 = &xfs_params.syncd_timer.max
102 }, 102 },
@@ -105,7 +105,7 @@ static ctl_table xfs_table[] = {
105 .data = &xfs_params.inherit_sync.val, 105 .data = &xfs_params.inherit_sync.val,
106 .maxlen = sizeof(int), 106 .maxlen = sizeof(int),
107 .mode = 0644, 107 .mode = 0644,
108 .proc_handler = &proc_dointvec_minmax, 108 .proc_handler = proc_dointvec_minmax,
109 .extra1 = &xfs_params.inherit_sync.min, 109 .extra1 = &xfs_params.inherit_sync.min,
110 .extra2 = &xfs_params.inherit_sync.max 110 .extra2 = &xfs_params.inherit_sync.max
111 }, 111 },
@@ -114,7 +114,7 @@ static ctl_table xfs_table[] = {
114 .data = &xfs_params.inherit_nodump.val, 114 .data = &xfs_params.inherit_nodump.val,
115 .maxlen = sizeof(int), 115 .maxlen = sizeof(int),
116 .mode = 0644, 116 .mode = 0644,
117 .proc_handler = &proc_dointvec_minmax, 117 .proc_handler = proc_dointvec_minmax,
118 .extra1 = &xfs_params.inherit_nodump.min, 118 .extra1 = &xfs_params.inherit_nodump.min,
119 .extra2 = &xfs_params.inherit_nodump.max 119 .extra2 = &xfs_params.inherit_nodump.max
120 }, 120 },
@@ -123,7 +123,7 @@ static ctl_table xfs_table[] = {
123 .data = &xfs_params.inherit_noatim.val, 123 .data = &xfs_params.inherit_noatim.val,
124 .maxlen = sizeof(int), 124 .maxlen = sizeof(int),
125 .mode = 0644, 125 .mode = 0644,
126 .proc_handler = &proc_dointvec_minmax, 126 .proc_handler = proc_dointvec_minmax,
127 .extra1 = &xfs_params.inherit_noatim.min, 127 .extra1 = &xfs_params.inherit_noatim.min,
128 .extra2 = &xfs_params.inherit_noatim.max 128 .extra2 = &xfs_params.inherit_noatim.max
129 }, 129 },
@@ -132,7 +132,7 @@ static ctl_table xfs_table[] = {
132 .data = &xfs_params.xfs_buf_timer.val, 132 .data = &xfs_params.xfs_buf_timer.val,
133 .maxlen = sizeof(int), 133 .maxlen = sizeof(int),
134 .mode = 0644, 134 .mode = 0644,
135 .proc_handler = &proc_dointvec_minmax, 135 .proc_handler = proc_dointvec_minmax,
136 .extra1 = &xfs_params.xfs_buf_timer.min, 136 .extra1 = &xfs_params.xfs_buf_timer.min,
137 .extra2 = &xfs_params.xfs_buf_timer.max 137 .extra2 = &xfs_params.xfs_buf_timer.max
138 }, 138 },
@@ -141,7 +141,7 @@ static ctl_table xfs_table[] = {
141 .data = &xfs_params.xfs_buf_age.val, 141 .data = &xfs_params.xfs_buf_age.val,
142 .maxlen = sizeof(int), 142 .maxlen = sizeof(int),
143 .mode = 0644, 143 .mode = 0644,
144 .proc_handler = &proc_dointvec_minmax, 144 .proc_handler = proc_dointvec_minmax,
145 .extra1 = &xfs_params.xfs_buf_age.min, 145 .extra1 = &xfs_params.xfs_buf_age.min,
146 .extra2 = &xfs_params.xfs_buf_age.max 146 .extra2 = &xfs_params.xfs_buf_age.max
147 }, 147 },
@@ -150,7 +150,7 @@ static ctl_table xfs_table[] = {
150 .data = &xfs_params.inherit_nosym.val, 150 .data = &xfs_params.inherit_nosym.val,
151 .maxlen = sizeof(int), 151 .maxlen = sizeof(int),
152 .mode = 0644, 152 .mode = 0644,
153 .proc_handler = &proc_dointvec_minmax, 153 .proc_handler = proc_dointvec_minmax,
154 .extra1 = &xfs_params.inherit_nosym.min, 154 .extra1 = &xfs_params.inherit_nosym.min,
155 .extra2 = &xfs_params.inherit_nosym.max 155 .extra2 = &xfs_params.inherit_nosym.max
156 }, 156 },
@@ -159,7 +159,7 @@ static ctl_table xfs_table[] = {
159 .data = &xfs_params.rotorstep.val, 159 .data = &xfs_params.rotorstep.val,
160 .maxlen = sizeof(int), 160 .maxlen = sizeof(int),
161 .mode = 0644, 161 .mode = 0644,
162 .proc_handler = &proc_dointvec_minmax, 162 .proc_handler = proc_dointvec_minmax,
163 .extra1 = &xfs_params.rotorstep.min, 163 .extra1 = &xfs_params.rotorstep.min,
164 .extra2 = &xfs_params.rotorstep.max 164 .extra2 = &xfs_params.rotorstep.max
165 }, 165 },
@@ -168,7 +168,7 @@ static ctl_table xfs_table[] = {
168 .data = &xfs_params.inherit_nodfrg.val, 168 .data = &xfs_params.inherit_nodfrg.val,
169 .maxlen = sizeof(int), 169 .maxlen = sizeof(int),
170 .mode = 0644, 170 .mode = 0644,
171 .proc_handler = &proc_dointvec_minmax, 171 .proc_handler = proc_dointvec_minmax,
172 .extra1 = &xfs_params.inherit_nodfrg.min, 172 .extra1 = &xfs_params.inherit_nodfrg.min,
173 .extra2 = &xfs_params.inherit_nodfrg.max 173 .extra2 = &xfs_params.inherit_nodfrg.max
174 }, 174 },
@@ -177,7 +177,7 @@ static ctl_table xfs_table[] = {
177 .data = &xfs_params.fstrm_timer.val, 177 .data = &xfs_params.fstrm_timer.val,
178 .maxlen = sizeof(int), 178 .maxlen = sizeof(int),
179 .mode = 0644, 179 .mode = 0644,
180 .proc_handler = &proc_dointvec_minmax, 180 .proc_handler = proc_dointvec_minmax,
181 .extra1 = &xfs_params.fstrm_timer.min, 181 .extra1 = &xfs_params.fstrm_timer.min,
182 .extra2 = &xfs_params.fstrm_timer.max, 182 .extra2 = &xfs_params.fstrm_timer.max,
183 }, 183 },
@@ -188,7 +188,7 @@ static ctl_table xfs_table[] = {
188 .data = &xfs_params.stats_clear.val, 188 .data = &xfs_params.stats_clear.val,
189 .maxlen = sizeof(int), 189 .maxlen = sizeof(int),
190 .mode = 0644, 190 .mode = 0644,
191 .proc_handler = &xfs_stats_clear_proc_handler, 191 .proc_handler = xfs_stats_clear_proc_handler,
192 .extra1 = &xfs_params.stats_clear.min, 192 .extra1 = &xfs_params.stats_clear.min,
193 .extra2 = &xfs_params.stats_clear.max 193 .extra2 = &xfs_params.stats_clear.max
194 }, 194 },