Al Viro c3a6902404 fix ITER_PIPE interaction with direct_IO
by making sure we call iov_iter_advance() on original
iov_iter even if direct_IO (done on its copy) has returned 0.
It's a no-op for old iov_iter flavours and does the right thing
(== truncation of the stuff we'd allocated, but not filled) in
ITER_PIPE case.  Failures (e.g. -EIO) get caught and dealt with
by cleanup in generic_file_read_iter().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-10-10 13:36:06 -04:00
..
2011-07-26 16:49:47 -07:00
2016-08-26 17:39:35 -07:00
2015-09-08 15:35:28 -07:00
2016-07-28 16:07:41 -07:00
2016-08-02 19:35:15 -04:00
2016-03-17 15:09:34 -07:00
2015-11-05 19:34:48 -08:00
2016-07-26 16:19:19 -07:00
2016-03-17 15:09:34 -07:00
2016-07-26 16:19:19 -07:00