/* writev-intensive code may want this to prefault several iovecs  */
int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes)
/* writev-intensive code may want this to prefault several iovecs  */
int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes)
{
	char __user *buf = i->iov->iov_base + i->iov_offset;
	bytes = min(bytes, i->iov->iov_len - i->iov_offset);
	return fault_in_pages_readable(buf, bytes);
}