Skip to content
Commit 313d64a3 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5c8fe583
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment