process_vm_access: switch to copy_page_to_iter/iov_iter_copy_from_user
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 5 Feb 2014 17:14:11 +0000 (12:14 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Apr 2014 03:19:27 +0000 (23:19 -0400)
commit240f3905f513cd5f27cc3f79bf03bf3f88323f41
tree69247be2e360e3cceb330773df9d50f34652dd73
parent9f78bdfabf0de0bc8d3cc97d06908651b577a567
process_vm_access: switch to copy_page_to_iter/iov_iter_copy_from_user

... rather than open-coding those.  As a side benefit, we get much saner
loop calling those; we can just feed entire pages, instead of the "copy
would span the iovec boundary, let's do it in two loop iterations" mess.

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