]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
procfs: make /self and /thread_self dentries persistent
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Feb 2024 06:55:36 +0000 (01:55 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Nov 2025 06:35:02 +0000 (01:35 -0500)
commit23cbc7a795853bc7a8d0512b7c686ef879f6e909
tree23d445df3e942f25349f53174375c5bafffd37b3
parent2313598222f9d9d737f2db725334d000ffaff809
procfs: make /self and /thread_self dentries persistent

... and there's no need to remember those pointers anywhere - ->kill_sb()
no longer needs to bother since kill_anon_super() will take care of
them anyway and proc_pid_readdir() only wants the inumbers, which
we had in a couple of static variables all along.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/base.c
fs/proc/internal.h
fs/proc/root.c
fs/proc/self.c
fs/proc/thread_self.c
include/linux/proc_fs.h