diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-01-18 19:48:01 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-19 06:59:06 -0700 |
| commit | 4b9748055457ac3a0710bf210c229d01ea1b01b9 (patch) | |
| tree | 899350e47295b5daa4ef3ef5750105047ac1dbec /include/uapi/linux/ppdev.h | |
| parent | da579f05ef0faada3559e7faddf761c75cdf85e1 (diff) | |
io_uring/rw: free potentially allocated iovec on cache put failure
If a read/write request goes through io_req_rw_cleanup() and has an
allocated iovec attached and fails to put to the rw_cache, then it may
end up with an unaccounted iovec pointer. Have io_rw_recycle() return
whether it recycled the request or not, and use that to gauge whether to
free a potential iovec or not.
Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/ppdev.h')
0 files changed, 0 insertions, 0 deletions
