diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-04 20:07:43 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-02 05:19:23 +0200 |
commit | 7f25bba819a38ab7310024a9350655f374707e20 (patch) | |
tree | d93d7fcf6db340dc8078b18555d0abb4611ef488 /ipc/util.h | |
parent | switch vmsplice_to_user() to copy_page_to_iter() (diff) | |
download | linux-7f25bba819a38ab7310024a9350655f374707e20.tar.xz linux-7f25bba819a38ab7310024a9350655f374707e20.zip |
cifs_iovec_read: keep iov_iter between the calls of cifs_readdata_to_iov()
... we are doing them on adjacent parts of file, so what happens is that
each subsequent call works to rebuild the iov_iter to exact state it
had been abandoned in by previous one. Just keep it through the entire
cifs_iovec_read(). And use copy_page_to_iter() instead of doing
kmap/copy_to_user/kunmap manually...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions