splice engine: return negative for error
authorJens Axboe <jens.axboe@oracle.com>
Mon, 2 Apr 2007 08:36:59 +0000 (10:36 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 2 Apr 2007 08:36:59 +0000 (10:36 +0200)
commitb4ba5f302c467dc10c8b89459a8cb97d2958f359
treec4ca53c21d5e4b775ab1152f1ee79e1ffc297d65
parentbab3fd58530027a67df288783f4a70759b3c84b7
splice engine: return negative for error

Otherwise fio_splice_queue() will think it has handle errno number
of bytes.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/splice.c