loop: convert to using splice_direct_to_actor() instead of sendfile()
authorJens Axboe <jens.axboe@oracle.com>
Tue, 12 Jun 2007 19:20:37 +0000 (21:20 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 06:04:14 +0000 (08:04 +0200)
commitfd5821404e6823997666d668f62c76eae228abc9
tree6d818f0d0201d0b0553aa0e50376802318e627af
parent130610d6f681c5d970340897f5db000d04a7ef78
loop: convert to using splice_direct_to_actor() instead of sendfile()

This gets rid of the dependency on ->sendfile() for receiving data
and converts loop to ->splice_read() instead.

Also includes an IV offset fix from Hugh Dickins.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/loop.c