Messages in this thread | | | Date | Tue, 17 Jan 2023 00:46:27 -0800 | From | Christoph Hellwig <> | Subject | Re: [PATCH v6 03/34] iov_iter: Pass I/O direction into iov_iter_get_pages*() |
| |
On Tue, Jan 17, 2023 at 08:44:16AM +0000, David Howells wrote: > Also, I don't want it to be FOLL_WRITE or 0. I want it to be written > explicitly in both cases. If you're going to insist on using FOLL_WRITE, then > there should be a FOLL_READ to go with it, even if it's #defined to 0.
Well, that's not how FOLL_* works. And another new flag that is defined to 0 but only used by some I/O callers is really confusing.
| |