splice: fix sendfile() issue with relay
authorTom Zanussi <zanussi@comcast.net>
Fri, 9 May 2008 11:28:36 +0000 (13:28 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 28 May 2008 12:49:27 +0000 (14:49 +0200)
commita82c53a0e3f57f02782330372b7adad67b417645
tree3a4e65ab1a2420f8fc5d0091a6992d6f7e430ad8
parent1ec7d99c16e69a9ed8ffeaa6c1846025b84bebad
splice: fix sendfile() issue with relay

Splice isn't always incrementing the ppos correctly, which broke
relay splice.

Signed-off-by: Tom Zanussi <zanussi@comcast.net>
Tested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/splice.c
kernel/relay.c