commit | f3cd4850504ff612d0ea77a0aaf29b66c98fcefe | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Sep 24 14:55:54 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 25 07:41:46 2020 -0600 |
tree | f455b8000f9f4ee17948ac8ab67185a5842f87a9 | |
parent | 4eb8dded6b82e184c09bb963bea0335fa3f30b55 [diff] |
io_uring: ensure open/openat2 name is cleaned on cancelation If we cancel these requests, we'll leak the memory associated with the filename. Add them to the table of ops that need cleaning, if REQ_F_NEED_CLEANUP is set. Cc: stable@vger.kernel.org Fixes: e62753e4e292 ("io_uring: call statx directly") Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>