+11
−4
Loading
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>