fix nfs O_DIRECT advancing iov_iter too much
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Apr 2017 13:31:51 +0000 (09:31 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Apr 2017 18:23:20 +0000 (14:23 -0400)
commit85128b2be6738fe36c224995c5ee80fe80fbb1b5
treec25285b57766761f1508985be799535075bbf3f5
parent71d6ad08379304128e4bdfaf0b4185d54375423e
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: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/direct.c