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>
Mon, 11 Sep 2023 15:41:24 +0000 (09:41 -0600)
commitd69ad44b6992f4c84e3b403727c33cb659452ca1
tree496f80970a1283b0971368174ef5b5b11440f008
parent3985804465d55514a9204662b6872670df248f3e
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