Skip to content

Commit 5ee83f8

Browse files
committed
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>
1 parent 8ec7c82 commit 5ee83f8

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

fs/pidfs.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ struct pidfs_attr {
4646
};
4747

4848
struct pidfs_inode {
49-
struct pidfs_exit_info __pei;
50-
struct pidfs_exit_info *exit_info;
5149
struct inode vfs_inode;
5250
};
5351

@@ -696,9 +694,6 @@ static struct inode *pidfs_alloc_inode(struct super_block *sb)
696694
if (!pi)
697695
return NULL;
698696

699-
memset(&pi->__pei, 0, sizeof(pi->__pei));
700-
pi->exit_info = NULL;
701-
702697
return &pi->vfs_inode;
703698
}
704699

0 commit comments

Comments
 (0)