Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aio: fix potential leak in aio_run_iocb().
iovec should be reclaimed whenever caller of rw_copy_check_uvector() returns, but it doesn't hold when failure happens right after aio_setup_vectored_rw(). Fix that in a such way to avoid hairy goto. Signed-off-by: Leon Yu <[email protected]> Signed-off-by: Benjamin LaHaise <[email protected]> Cc: [email protected]
- Loading branch information