]> err.no Git - linux-2.6/commit
splice: handle try_to_release_page() failure
authorJens Axboe <jens.axboe@oracle.com>
Tue, 20 May 2008 19:27:41 +0000 (21:27 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 28 May 2008 12:49:27 +0000 (14:49 +0200)
commitca39d651d17df49b6d11f851d56c0ce0ce01ea1a
tree4bb546d7c8897f028dba7a099799b777e3602cb4
parenta82c53a0e3f57f02782330372b7adad67b417645
splice: handle try_to_release_page() failure

splice currently assumes that try_to_release_page() always suceeds,
but it can return failure. If it does, we cannot steal the page.

Acked-by: Mingming Cao <cmm@us.ibm.com
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/splice.c