]> err.no Git - linux-2.6/commit
[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)
commit53cd9ae886273d6c2b8ba4aa63d6cd6b1217b57f
tree859162c3086f7d636ed376d4cb57522f52a8fd82
parentb043b673dc8a73daa233d5d92cf70b32e7351314
[PATCH] splice: fix shadow[] filling logic

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