aboutsummaryrefslogtreecommitdiffstats
path: root/fs/quota
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-16 06:11:48 -0500
committerEric W. Biederman <ebiederm@xmission.com>2009-11-18 11:37:40 -0500
commit6d4561110a3e9fa742aeec6717248a491dfb1878 (patch)
tree689e2abf19940416ce597ba56ed31026ff59bd21 /fs/quota
parent86926d0096279b9739ceeff40f68d3c33b9119a9 (diff)
sysctl: Drop & in front of every proc_handler.
For consistency drop & in front of every proc_handler. Explicity taking the address is unnecessary and it prevents optimizations like stubbing the proc_handlers to NULL. Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Joe Perches <joe@perches.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/quota')
-rw-r--r--fs/quota/dquot.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index 60940f8709d..f0eb200d8f8 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 { },