We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a51c32 commit 9ac273aCopy full SHA for 9ac273a
1 file changed
io_uring/rw.c
@@ -434,7 +434,8 @@ int io_read_mshot_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
434
435
void io_readv_writev_cleanup(struct io_kiocb *req)
436
{
437
- io_rw_iovec_free(req->async_data);
+ lockdep_assert_held(&req->ctx->uring_lock);
438
+ io_rw_recycle(req, 0);
439
}
440
441
static inline loff_t *io_kiocb_update_pos(struct io_kiocb *req)
0 commit comments