diff options
author | Anton Altaparmakov <anton@tuxera.com> | 2015-03-11 15:43:31 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-12 04:24:32 +0200 |
commit | 171a02032bf1e1bb35442a38d6e25e0dcbb85c63 (patch) | |
tree | a374f6fcd3290ccce1872c6013799dc8c171a31e /crypto/cryptd.c | |
parent | drop bogus check in file_open_root() (diff) | |
download | linux-171a02032bf1e1bb35442a38d6e25e0dcbb85c63.tar.xz linux-171a02032bf1e1bb35442a38d6e25e0dcbb85c63.zip |
VFS: Add iov_iter_fault_in_multipages_readable()
simillar to iov_iter_fault_in_readable() but differs in that it is
not limited to faulting in the first iovec and instead faults in
"bytes" bytes iterating over the iovecs as necessary.
Also, instead of only faulting in the first and last page of the
range, all pages are faulted in.
This function is needed by NTFS when it does multi page file
writes.
Signed-off-by: Anton Altaparmakov <anton@tuxera.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions