diff options
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r-- | fs/lockd/svc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 6e242556b903..12a857c29e25 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
@@ -331,7 +331,7 @@ static ctl_table nlm_sysctls[] = { | |||
331 | .ctl_name = CTL_UNNUMBERED, | 331 | .ctl_name = CTL_UNNUMBERED, |
332 | .procname = "nlm_grace_period", | 332 | .procname = "nlm_grace_period", |
333 | .data = &nlm_grace_period, | 333 | .data = &nlm_grace_period, |
334 | .maxlen = sizeof(int), | 334 | .maxlen = sizeof(unsigned long), |
335 | .mode = 0644, | 335 | .mode = 0644, |
336 | .proc_handler = &proc_doulongvec_minmax, | 336 | .proc_handler = &proc_doulongvec_minmax, |
337 | .extra1 = (unsigned long *) &nlm_grace_period_min, | 337 | .extra1 = (unsigned long *) &nlm_grace_period_min, |
@@ -341,7 +341,7 @@ static ctl_table nlm_sysctls[] = { | |||
341 | .ctl_name = CTL_UNNUMBERED, | 341 | .ctl_name = CTL_UNNUMBERED, |
342 | .procname = "nlm_timeout", | 342 | .procname = "nlm_timeout", |
343 | .data = &nlm_timeout, | 343 | .data = &nlm_timeout, |
344 | .maxlen = sizeof(int), | 344 | .maxlen = sizeof(unsigned long), |
345 | .mode = 0644, | 345 | .mode = 0644, |
346 | .proc_handler = &proc_doulongvec_minmax, | 346 | .proc_handler = &proc_doulongvec_minmax, |
347 | .extra1 = (unsigned long *) &nlm_timeout_min, | 347 | .extra1 = (unsigned long *) &nlm_timeout_min, |