Re: [RFC PATCH 02/12] netfs: Add an iov_iter to the read subreq for the network fs/cache to use

From: David Howells
Date: Wed Jul 21 2021 - 13:20:31 EST


Jeff Layton <jlayton@xxxxxxxxxx> wrote:

> > - iov_iter_xarray(&iter, WRITE, &subreq->rreq->mapping->i_pages,
> > + iov_iter_xarray(&iter, READ, &subreq->rreq->mapping->i_pages,
>
> What's up with the WRITE -> READ change here? Was that a preexisting
> bug?

Actually, yes - I need to split that out and send it to Linus.

David