Re: [PATCH 1/6] seq_file: add seq_read_iter

From: Linus Torvalds
Date: Wed Nov 11 2020 - 20:49:32 EST


On Wed, Nov 11, 2020 at 2:21 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> Something like below (build-tested only):

Apart from my usual "oh, Gods, the iter model really does confuse me"
this looks more like what I expected, yes.

Considering the original bug, I'm clearly not the only one confused by
the iov_iter helper functions and the rules..

Linus