Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pidfs: remove unused members from struct pidfs_inode

We've moved persistent information to struct pid.
So there's no need for these anymore.

Link: https://lore.kernel.org/20250618-work-pidfs-persistent-v2-6-98f3456fd552@kernel.org
Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>

-5
-5
fs/pidfs.c
··· 46 46 }; 47 47 48 48 struct pidfs_inode { 49 - struct pidfs_exit_info __pei; 50 - struct pidfs_exit_info *exit_info; 51 49 struct inode vfs_inode; 52 50 }; 53 51 ··· 693 695 pi = alloc_inode_sb(sb, pidfs_cachep, GFP_KERNEL); 694 696 if (!pi) 695 697 return NULL; 696 - 697 - memset(&pi->__pei, 0, sizeof(pi->__pei)); 698 - pi->exit_info = NULL; 699 698 700 699 return &pi->vfs_inode; 701 700 }