summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-23 23:16:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-23 23:16:56 +0100
commitfcc77d7c8ef6478844547d50dd3d03270c86116c (patch)
tree57579e819aa9694dd85eaef3ad4e19d9c0432f67 /fs/lockd/svc.c
parentMerge tag 'modules-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
parentsysctl: fix proc_dobool() usability (diff)
downloadlinux-fcc77d7c8ef6478844547d50dd3d03270c86116c.tar.xz
linux-fcc77d7c8ef6478844547d50dd3d03270c86116c.zip
Merge tag 'sysctl-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux
Pull sysctl update from Luis Chamberlain: "Just one fix which just came in. Sadly the eager beavers willing to help with the sysctl moves have slowed" * tag 'sysctl-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux: sysctl: fix proc_dobool() usability
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r--fs/lockd/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index 1da00230860c..9a47303b2cba 100644
--- a/fs/lockd/svc.c
+++ b/fs/lockd/svc.c
@@ -496,7 +496,7 @@ static struct ctl_table nlm_sysctls[] = {
{
.procname = "nsm_use_hostnames",
.data = &nsm_use_hostnames,
- .maxlen = sizeof(int),
+ .maxlen = sizeof(bool),
.mode = 0644,
.proc_handler = proc_dobool,
},