mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
do_splice_to(): move the logics for limiting the read length in
Both callers have the identical logics limiting the amount of data we try to read into pipe - no more than would fit into that pipe. Move that into do_splice_to() itself. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
5c8fe583cc
commit
313d64a35d
1 changed files with 7 additions and 14 deletions
21
fs/splice.c
21
fs/splice.c
Loading…
Add table
Add a link
Reference in a new issue