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

From: Oleg Nesterov

Date: Wed Oct 15 2025 - 08:37:26 EST


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(-)