Re: [PATCH 8/8] aio: move sanity checks and request allocation to io_submit_one()

From: Christoph Hellwig
Date: Mon Mar 11 2019 - 15:48:38 EST


On Sun, Mar 10, 2019 at 07:08:22AM +0000, Al Viro wrote:
> From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>
> makes for somewhat cleaner control flow in __io_submit_one()
>
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

I wonder if we should even bother keeping __io_submit_one. Splitting
that out was prep work from Jens for something that eventually turned
into io_uring.