commit | 8e54cadab447dae779f80f79c87cbeaea9594f60 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Nov 26 20:05:42 2016 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Nov 26 20:05:42 2016 -0500 |
tree | f4b4b68d40369757544c9000349bbb0ec5de38e7 | |
parent | 3ad0e83cf86bcaeb6ca3c37060a3ce866b25fb42 [diff] |
fix default_file_splice_read() Botched calculation of number of pages. As the result, we were dropping pieces when doing splice to pipe from e.g. 9p. Reported-by: Alexei Starovoitov <ast@kernel.org> Tested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>