[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <28094.1536858346@warthog.procyon.org.uk>
Date: Thu, 13 Sep 2018 18:05:46 +0100
From: David Howells <dhowells@...hat.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: dhowells@...hat.com, viro@...iv.linux.org.uk,
linux-fsdevel@...r.kernel.org, linux-afs@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/10] iov_iter: Add new iters and use with AFS
Matthew Wilcox <willy@...radead.org> 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
Powered by blists - more mailing lists