new helper: iov_iter_get_pages_alloc()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 Mar 2014 08:58:33 +0000 (04:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2014 21:32:53 +0000 (17:32 -0400)
commit91f79c43d1b54d7154b118860d81b39bad07dfff
treea5b142ba57fdabf835476b6dbca24288a78f0c53
parentf67da30c1d5fc9e341bc8121708874bfd7b31e45
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: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/lustre/lustre/llite/rw26.c
fs/nfs/direct.c
include/linux/uio.h
mm/iov_iter.c