[PATCH] splice: offset fixes
authorJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:57:05 +0000 (15:57 +0200)
committerJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:57:05 +0000 (15:57 +0200)
commita4514ebd8e12c63c09ab02be518db545bd1d24af
treeec7bcaed8d4594bd9d763659686e9318158da3aa
parent2a27250e6cf47ca1ea3bea0a55e4b7889c097627
[PATCH] splice: offset fixes

- We need to adjust *ppos for writes as well.
- Copy back modified offset value if one was passed in, similar to
  what sendfile does.

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/splice.c