summaryrefslogtreecommitdiff
path: root/cookie.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04xio: refactor fopencookie related functionsDaniel Borkmann1-0/+51
Again, we move them out of xio to shrink it down. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
inux.org.uk>2016-11-26 20:05:42 -0500 committerAl Viro <viro@zeniv.linux.org.uk>2016-11-26 20:05:42 -0500 commit8e54cadab447dae779f80f79c87cbeaea9594f60 (patch) treef4b4b68d40369757544c9000349bbb0ec5de38e7 parent3ad0e83cf86bcaeb6ca3c37060a3ce866b25fb42 (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>
Diffstat