> +     iov_iter_bvec(i, direction, bvec, nr_segs, count);
> +     i->type |= ITER_BVEC_FLAG_NO_REF;
> +}

What about simply providing a iov_iter_bvec_noref in core code and
also using that in io_uring?

Otherwise this looks fine to me.

Reply via email to