Re: [PATCH 00/10] iov_iter: Add new iters and use with AFS

From: David Howells
Date: Thu Sep 13 2018 - 13:05:59 EST


Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> It might serve to replace iov_iter_zero().

I don't think it can work like that. iov_iter_zero() writes zeros into an
iterator someone else set up.

To use ITER_ZERO, you'd be setting up the iterator and passing it to someone
else to comsume. I think these are at opposite ends of the concept.

David