diff options
author | Steve Dickson <SteveD@redhat.com> | 2005-07-13 04:10:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 14:25:24 -0400 |
commit | 7ee91ec14bd4def036b4084da29869382078e44b (patch) | |
tree | 5d4a99f6c0255184328c47f33258088b2ef0f8b1 /fs/lockd | |
parent | 068e1b94bbd268f375349f68531829c8b7c210bc (diff) |
[PATCH] NFS: procfs/sysctl interfaces for lockd do not work on x86_64
Allow the setting of NLM timeouts and grace periods through the proc and
sysclt interfaces on x86_64 architectures
Signed-off-by: Steve Dickson <steved@redhat.com>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/lockd')
-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, |