aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-06-12 16:07:49 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2022-08-08 22:37:16 -0400
commit0d9649341363047be60a9ec7378d8985bdd0abba (patch)
tree4367c03e3c6f81ac6a6205d186ae53cdfe65c307 /mm
parentswitch new_sync_{read,write}() to ITER_UBUF (diff)
downloadlinux-dev-0d9649341363047be60a9ec7378d8985bdd0abba.tar.xz
linux-dev-0d9649341363047be60a9ec7378d8985bdd0abba.zip
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