Skip to content
Commit cdd591fc authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

iov_iter: Introduce fault_in_iov_iter_writeable



Introduce a new fault_in_iov_iter_writeable helper for safely faulting
in an iterator for writing.  Uses get_user_pages() to fault in the pages
without actually writing to them, which would be destructive.

We'll use fault_in_iov_iter_writeable in gfs2 once we've determined that
the iterator passed to .read_iter isn't in memory.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent a6294593
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment