Skip to content
Commit 91f79c43 authored by Al Viro's avatar Al Viro
Browse files

new helper: iov_iter_get_pages_alloc()



same as iov_iter_get_pages(), except that pages array is allocated
(kmalloc if possible, vmalloc if that fails) and left for caller to
free.  Lustre and NFS ->direct_IO() switched to it.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f67da30c
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