mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
pidfs: fix pidfs_free_pid()
Ensure that we handle the case where task creation fails and pid->attr was never accessed at all. Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
4e3d1e6e1b
commit
f077638b5f
1 changed files with 10 additions and 8 deletions
18
fs/pidfs.c
18
fs/pidfs.c
Loading…
Add table
Add a link
Reference in a new issue