Skip to content

Revert "pid: make __task_pid_nr_ns(ns => NULL) safe for zombie callers"

Oleg Nesterov lkml 1 version Applied

Status from this message: Applied to the kernel-7.0.misc branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Revert "pid: make __task_pid_nr_ns(ns => NULL) safe for zombie callers"kernel/pid.c+1 -20 replies
2/2pid: introduce task_ppid_vnr() helperfs/pidfs.c include/linux/pid.h+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Revert "pid: make __task_pid_nr_ns(ns => NULL) safe for zombie callers"

Christian,

I was going to revert 006568ab4c5c ("pid: Add a judgment for ns null in pid_nr_ns") but then I changed my mind and decided to revert my commit abdfd4948e45 (""pid: make __task_pid_nr_ns(ns => NULL) safe for zombie callers"). See the changelog.

2/2 is offtopic and purely cosmetic.

Oleg.

 fs/pidfs.c          | 2 +-
 include/linux/pid.h | 5 +++++
 kernel/pid.c        | 3 +--
 3 files changed, 7 insertions(+), 3 deletions(-)