]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87adc910514d0f60d809021ec2f4066b3b5406a8
treec25285b57766761f1508985be799535075bbf3f5
parent32f9924d1495b05b5de37c0e90c241923fff62b0
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