diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-09-24 23:55:54 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-25 16:41:46 +0300 |
commit | f3cd4850504ff612d0ea77a0aaf29b66c98fcefe (patch) | |
tree | f455b8000f9f4ee17948ac8ab67185a5842f87a9 /sound/drivers/dummy.c | |
parent | 4eb8dded6b82e184c09bb963bea0335fa3f30b55 (diff) | |
download | linux-f3cd4850504ff612d0ea77a0aaf29b66c98fcefe.tar.xz |
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>
Diffstat (limited to 'sound/drivers/dummy.c')
0 files changed, 0 insertions, 0 deletions