Re: [PATCH v2] io_uring: add cleanup for openat()/statx()

From: Jens Axboe
Date: Fri Feb 07 2020 - 16:13:14 EST


On 2/7/20 1:59 PM, Pavel Begunkov wrote:
> openat() and statx() may have allocated ->open.filename, which should be
> be put. Add cleanup handlers for them.

Thanks, applied - but I dropped this hunk:

> @@ -2857,7 +2862,6 @@ static void io_close_finish(struct io_wq_work **workptr)
> }
>
> fput(req->close.put_file);
> -
> io_put_req_find_next(req, &nxt);
> if (nxt)
> io_wq_assign_next(workptr, nxt);

--
Jens Axboe