diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-06-18 22:53:42 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-06-19 14:28:24 +0200 |
| commit | 804d6794497e6f3992d156e07d01e22b037ce09e (patch) | |
| tree | 3a022ab462816d402ee5660fecbadf2783800ce4 /include/linux/pidfs.h | |
| parent | 0f93d71b9d17a8b3fcb38b5e66ac5bd94f56a8de (diff) | |
pidfs: remove pidfs_{get,put}_pid()
Now that we stash persistent information in struct pid there's no need
to play volatile games with pinning struct pid via dentries in pidfs.
Link: https://lore.kernel.org/20250618-work-pidfs-persistent-v2-8-98f3456fd552@kernel.org
Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/pidfs.h')
| -rw-r--r-- | include/linux/pidfs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pidfs.h b/include/linux/pidfs.h index 8f6ed59bb3fb..3e08c33da2df 100644 --- a/include/linux/pidfs.h +++ b/include/linux/pidfs.h @@ -14,8 +14,6 @@ void pidfs_coredump(const struct coredump_params *cprm); #endif extern const struct dentry_operations pidfs_dentry_operations; int pidfs_register_pid(struct pid *pid); -void pidfs_get_pid(struct pid *pid); -void pidfs_put_pid(struct pid *pid); void pidfs_free_pid(struct pid *pid); #endif /* _LINUX_PID_FS_H */ |
