> + if (iov_iter_is_bvec(iter)) > + ret = bio_iov_bvec_add_pages(&bio, iter); > + else > + ret = bio_iov_iter_get_pages(&bio, iter); Shouldn't this actually be done inside bio_iov_iter_get_pages?
> + if (iov_iter_is_bvec(iter)) > + ret = bio_iov_bvec_add_pages(&bio, iter); > + else > + ret = bio_iov_iter_get_pages(&bio, iter); Shouldn't this actually be done inside bio_iov_iter_get_pages?