[PATCH] splice: fix bugs with stealing regular pipe pages
authorJens Axboe <axboe@suse.de>
Sun, 30 Apr 2006 14:36:32 +0000 (16:36 +0200)
committerJens Axboe <axboe@suse.de>
Sun, 30 Apr 2006 14:36:32 +0000 (16:36 +0200)
- Check that page has suitable count for stealing in the regular pipes.
- pipe_to_file() assumes that the page is locked on succesful steal, so
  do that in the pipe steal hook
- Missing unlock_page() in add_to_page_cache() failure.

Signed-off-by: Jens Axboe <axboe@suse.de>

No differences found