commit | 91f79c43d1b54d7154b118860d81b39bad07dfff | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 21 04:58:33 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue May 06 17:32:53 2014 -0400 |
tree | a5b142ba57fdabf835476b6dbca24288a78f0c53 | |
parent | f67da30c1d5fc9e341bc8121708874bfd7b31e45 [diff] |
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>