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
..
2016-04-06 09:47:01 +10:00
2016-04-06 09:47:01 +10:00
2016-03-31 00:30:15 -04:00
2016-07-27 09:53:35 -07:00
2016-02-09 16:54:58 +11:00
2016-07-20 11:48:46 +10:00
2016-04-06 09:20:36 +10:00
2016-06-01 17:38:15 +10:00
2016-04-06 09:19:55 +10:00
2016-06-01 17:38:15 +10:00
2016-04-06 09:20:36 +10:00