]> git.baikalelectronics.ru Git - kernel.git/commit
make nr_pages calculation in default_file_splice_read() a bit less ugly
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 Dec 2016 18:20:53 +0000 (13:20 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Dec 2016 04:53:52 +0000 (23:53 -0500)
commitd533e7cc488a9911551f485878cd8bedfae2ef7c
tree2ecd8ac788982c1e72764c9069de73978a71c18c
parenta20d46e10634b571e543546cc89dbf830d07885b
make nr_pages calculation in default_file_splice_read() a bit less ugly

It's an artifact of lousy calling conventions of iov_iter_get_pages_alloc().
Hopefully, we'll get something saner come next cycle; for now that'll
do.

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