Skip to content
Commit 85128b2b authored by Al Viro's avatar Al Viro
Browse files

fix nfs O_DIRECT advancing iov_iter too much



It leaves the iterator advanced by the amount of IO it has requested
instead of the amount actually transferred.  Among other things,
that confuses the hell out of generic_file_splice_read().

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 71d6ad08
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment