--- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2991,7 +2991,7 @@ static void io_req_map_rw(struct io_kioc rw->free_iovec = NULL; rw->bytes_done = 0; /* can only be fixed buffers, no need to do anything */ - if (iter->type == ITER_BVEC) + if (iov_iter_is_bvec(iter)) return; if (!iovec) { unsigned iov_off = 0;