[lkml]   [2018]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 00/10] iov_iter: Add new iters and use with AFS
Matthew Wilcox <> 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.


 \ /
  Last update: 2018-09-13 19:07    [W:0.161 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site