aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2024-02-05 17:43:47 +0000
committerChristian Brauner <[email protected]>2024-02-06 13:02:51 +0000
commite2e8a142fbd988d658ccb3da1d6f4b26a39de0fd (patch)
treec1a86de427f271d587dab50b471309ab372ebca5 /fs/btrfs/dev-replace.c
parentpidfd: change do_notify_pidfd() to use __wake_up(poll_to_key(EPOLLIN)) (diff)
downloadkernel-e2e8a142fbd988d658ccb3da1d6f4b26a39de0fd.tar.gz
kernel-e2e8a142fbd988d658ccb3da1d6f4b26a39de0fd.zip
pidfd: exit: kill the no longer used thread_group_exited()
It was used by pidfd_poll() but now it has no callers. If it finally finds a modular user we can revert this change, but note that the comment above this helper and the changelog in 38fd525a4c61 ("exit: Factor thread_group_exited out of pidfd_poll") are not accurate, thread_group_exited() won't return true if all other threads have passed exit_notify() and are zombies, it returns true only when all other threads are completely gone. Not to mention that it can only work if the task identified by @pid is a thread-group leader. Signed-off-by: Oleg Nesterov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Tycho Andersen <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions