do_splice_to(): cap the size before passing to ->splice_read()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 2 Apr 2016 18:56:58 +0000 (14:56 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Apr 2016 23:52:59 +0000 (19:52 -0400)
commit03cc0789a690eb9ab07070376252961caeae7441
tree571ea10fc6edaf214c0442494793a6635d05c045
parent7500c38ac3258815f86f41744a538850c3221b23
do_splice_to(): cap the size before passing to ->splice_read()

pipe capacity won't exceed 2G anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/splice.c