Re: [PATCH] iov_iter: Declare new iterator direction symbols

From: Linus Torvalds
Date: Fri Nov 04 2022 - 14:49:53 EST


On Fri, Nov 4, 2022 at 10:47 AM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> If we're going to go with Al's changes to switch to using ITER_SOURCE and
> ITER_DEST instead of READ/WRITE, can we put just the new symbols into mainline
> now, even if we leave the rest for the next merge window?

No, I really don't want to have mixed-used stuff in the kernel.

Continue to use the old names until/if the conversion happens, at
which point it's the conversion code that does it.

No "one branch uses new names, another uses old names" mess.

Linus