]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/splice.c
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)
commit13c0f52beb6310b9c08804c0929901f70abd211a
tree2ecd8ac788982c1e72764c9069de73978a71c18c
parent3d6ea290f337cc64cf44290482e36306fc8aaa31
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