copy_page_to_iter(): don't bother with kmap_atomic() for bvec/kvec cases
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Apr 2021 16:29:53 +0000 (12:29 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Jun 2021 15:45:22 +0000 (11:45 -0400)
commitc1d4d6a9ae88b87262fb5426823930bc471f6034
treeecdcc96e3a00ddb580c968f7fb26f9b0b43d58df
parent4b179e9a9c7c98550747b76405626dd59968f078
copy_page_to_iter(): don't bother with kmap_atomic() for bvec/kvec cases

kmap_local_page() is enough there.  Moreover, we can use _copy_to_iter()
for actual copying in those cases - no useful extra checks on the
address we are copying from in that call.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
lib/iov_iter.c