summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-06-12 23:07:49 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2022-08-09 05:37:16 +0300
commit0d9649341363047be60a9ec7378d8985bdd0abba (patch)
tree4367c03e3c6f81ac6a6205d186ae53cdfe65c307 /lib
parent3e20a751aff0e099cff496511fef8cdf655b3360 (diff)
downloadlinux-0d9649341363047be60a9ec7378d8985bdd0abba.tar.xz
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 'lib')
0 files changed, 0 insertions, 0 deletions