exit: abstract out should_wake helper for child_wait_callback()
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Jul 2023 16:31:10 +0000 (10:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Sep 2023 15:41:24 +0000 (09:41 -0600)
commit97d3a36a80e07dd4cf21c74d766f8844f4b950ff
tree99530249d9f806a4057886160390788217c6a588
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
exit: abstract out should_wake helper for child_wait_callback()

Abstract out the helper that decides if we should wake up following
a wake_up() callback on our internal waitqueue.

No functional changes intended in this patch.

Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/exit.c