Re: [PATCH v6 06/34] iov_iter: Use the direction in the iterator functions

From: Al Viro
Date: Wed Jan 18 2023 - 17:28:43 EST


On Mon, Jan 16, 2023 at 11:58:16PM -0800, Christoph Hellwig wrote:
> On Mon, Jan 16, 2023 at 11:08:44PM +0000, David Howells wrote:
> > Use the direction in the iterator functions rather than READ/WRITE.
>
> I don't think we need the direction at all as nothing uses it any more.

... except for checks in copy_from_iter() et.al.