diff options
author | Anton Altaparmakov <anton@tuxera.com> | 2015-03-11 10:43:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:24:32 -0400 |
commit | 171a02032bf1e1bb35442a38d6e25e0dcbb85c63 (patch) | |
tree | a374f6fcd3290ccce1872c6013799dc8c171a31e /lib/reciprocal_div.c | |
parent | e5b811e38af7540b385c898d83eb0198310343fd (diff) | |
download | linux-171a02032bf1e1bb35442a38d6e25e0dcbb85c63.tar.bz2 |
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 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions