Re: [PATCH][next] io_uring: Fix error returns when create_io_thread fails

From: Jens Axboe
Date: Fri Mar 05 2021 - 09:13:07 EST


On 3/5/21 2:32 AM, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The error return when create_io_thread calls fail is not using the
> error return code from the returned pointer. Fix this by using
> the error code in PTR_ERR(tsk).

Thanks Colin, I'm going to fold this in.

--
Jens Axboe