[PATCH] splice: fix shadow[] filling logic
authorJens Axboe <axboe@suse.de>
Sun, 2 Apr 2006 21:04:21 +0000 (23:04 +0200)
committerJens Axboe <axboe@suse.de>
Sun, 2 Apr 2006 21:04:21 +0000 (23:04 +0200)
Clear the entire range, and don't increment pidx or we keep filling
the same position again and again.

Thanks to KAMEZAWA Hiroyuki.

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

diff --cc fs/splice.c
Simple merge