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

From: Christoph Hellwig
Date: Thu Jan 19 2023 - 00:45:52 EST


On Wed, Jan 18, 2023 at 10:28:28PM +0000, Al Viro wrote:
> 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.

Debug checks, yes.