[Devel] [PATCH rh7] pid_ns: Drop global pid_max declaration leftover
Konstantin Khorenko
khorenko at virtuozzo.com
Tue May 31 16:53:30 MSK 2022
Just a leftover.
Found in the scope of https://jira.sw.ru/browse/PSBM-140308
Fixes: 8a07dff63c68 ("pid_ns: Virtualize pid_max")
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
kernel/pid_namespace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c
index be561b1ae071..31795e37e774 100644
--- a/kernel/pid_namespace.c
+++ b/kernel/pid_namespace.c
@@ -299,7 +299,6 @@ static int pid_ns_ctl_handler(struct ctl_table *table, int write,
return proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos);
}
-extern int pid_max;
static int zero = 0;
static struct ctl_table pid_ns_ctl_table[] = {
{
--
2.24.3
More information about the Devel
mailing list