aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd
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/lockd
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/lockd')
-rw-r--r--fs/lockd/svc.c12
1 files changed, 6 insertions, 6 deletions
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};