[Cluster-devel] [PATCH v7 04/19] iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readable

Linus Torvalds torvalds at linux-foundation.org
Fri Aug 27 18:57:19 UTC 2021


On Fri, Aug 27, 2021 at 11:53 AM Al Viro <viro at zeniv.linux.org.uk> wrote:
>
> I really disagree with these calling conventions.  "Number not faulted in"
> is bloody useless

It's what we already have for copy_to/from_user(), so it's actually
consistent with that.

And it avoids changing all the existing tests where people really
cared only about the "everything ok" case.

Andreas' first patch did that changed version, and was ugly as hell.

But if you have a version that avoids the ugliness...

             Linus




More information about the Cluster-devel mailing list