Re: [PATCH 2/5] exit: move core of do_wait() into helper

From: Christian Brauner
Date: Fri Jul 14 2023 - 11:32:29 EST


On Tue, Jul 11, 2023 at 02:43:49PM -0600, Jens Axboe wrote:
> Rather than have a maze of gotos, put the actual logic in __do_wait()
> and have do_wait() loop deal with waitqueue setup/teardown and whether
> to call __do_wait() again.
>
> No functional changes intended in this patch.
>
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> ---

Honestly just makes the code easier to read in general,
Acked-by: Christian Brauner <brauner@xxxxxxxxxx>