splice: abstract out actor data
authorJens Axboe <jens.axboe@oracle.com>
Tue, 12 Jun 2007 19:17:17 +0000 (21:17 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 06:04:12 +0000 (08:04 +0200)
commitc66ab6fa705e1b2887a6d9246b798bdc526839e2
tree764ece0ee44f937012dfaa1657709da548ed5b16
parent71780f59e127bb281a9302d430495ca9586c14e7
splice: abstract out actor data

For direct splicing (or private splicing), the output may not be a file.
So abstract out the handling into a specified actor function and put
the data in the splice_desc structure earlier, so we can build on top
of that.

This is the first step in better splice handling for drivers, and also
for implementing vmsplice _to_ user memory.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/ocfs2/file.c
fs/splice.c
include/linux/pipe_fs_i.h