diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-06-12 16:07:49 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-08 22:37:16 -0400 |
commit | 0d9649341363047be60a9ec7378d8985bdd0abba (patch) | |
tree | 4367c03e3c6f81ac6a6205d186ae53cdfe65c307 /mm | |
parent | 3e20a751aff0e099cff496511fef8cdf655b3360 (diff) |
splice: stop abusing iov_iter_advance() to flush a pipe
Use pipe_discard_from() explicitly in generic_file_read_iter(); don't bother
with rather non-obvious use of iov_iter_advance() in there.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions