bpf: fix multi-function JITed dump obtained via syscall
[sfrench/cifs-2.6.git] / kernel / pid.c
index ed6c343fe50dff7b546e43fd89102f43b898417e..157fe4b199713b65cb62c6d591225306cd5289f9 100644 (file)
@@ -70,7 +70,7 @@ int pid_max_max = PID_MAX_LIMIT;
  */
 struct pid_namespace init_pid_ns = {
        .kref = KREF_INIT(2),
-       .idr = IDR_INIT,
+       .idr = IDR_INIT(init_pid_ns.idr),
        .pid_allocated = PIDNS_ADDING,
        .level = 0,
        .child_reaper = &init_task,