diff options
author | Jonathan Corbet <corbet@lwn.net> | 2020-05-18 14:19:25 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-05-18 14:19:25 +0200 |
commit | fdb1b5e08929f21d29aedd447233b32f497b8999 (patch) | |
tree | 5e2e68ad55b158e25edc00db4e17ec62a59f305f /kernel/sysctl.c | |
parent | docs: move locking-specific documents to locking/ (diff) | |
download | linux-fdb1b5e08929f21d29aedd447233b32f497b8999.tar.xz linux-fdb1b5e08929f21d29aedd447233b32f497b8999.zip |
Revert "docs: sysctl/kernel: document ngroups_max"
This reverts commit 2f4c33063ad713e3a5b63002cf8362846e78bd71.
The changes here were fine, but there's a non-documentation change to
sysctl.c that makes messes elsewhere; those changes should have been done
independently.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to '')
-rw-r--r-- | kernel/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 2ba9f449d273..8a176d8727a3 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -146,7 +146,7 @@ static unsigned long dirty_bytes_min = 2 * PAGE_SIZE; static int maxolduid = 65535; static int minolduid; -static const int ngroups_max = NGROUPS_MAX; +static int ngroups_max = NGROUPS_MAX; static const int cap_last_cap = CAP_LAST_CAP; /* @@ -883,7 +883,7 @@ static struct ctl_table kern_table[] = { #endif { .procname = "ngroups_max", - .data = (void *)&ngroups_max, + .data = &ngroups_max, .maxlen = sizeof (int), .mode = 0444, .proc_handler = proc_dointvec, |