exit: add kernel_waitid_prepare() helper
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Jul 2023 16:38:23 +0000 (10:38 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Sep 2023 16:33:09 +0000 (10:33 -0600)
commit14b5b1b4b43df5754b31cbda847b78a9f13b592b
tree8103a241dec76ccad0529e47b6016bd1418e938f
parent5e07604b637bb4e73ffb3af9f2a49ce92b837539
exit: add kernel_waitid_prepare() helper

Move the setup logic out of kernel_waitid(), and into a separate helper.

No functional changes intended in this patch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/exit.c