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

From: Pavel Begunkov
Date: Fri Feb 07 2020 - 16:19:37 EST


On 08/02/2020 00:13, Jens Axboe wrote:
> 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:

That's the second time it slipped, I need to read patches more attentively.
Thanks

>
>> @@ -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);
>

--
Pavel Begunkov

Attachment: signature.asc
Description: OpenPGP digital signature