Jens Axboe
6a860c979b
splice: fix bad unlock_page() in error case
...
If add_to_page_cache_lru() fails, the page will not be locked. But
splice jumps to an error path that does a page release and unlock,
causing a BUG() in unlock_page().
Fix this by adding one more label that just releases the page. This bug
was actually triggered on EL5 by gurudas pai <gurudas.pai@oracle.com>
using fio.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-20 09:07:01 -07:00
..
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 08:54:14 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 08:44:19 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 08:44:19 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 08:44:19 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 09:07:01 -07:00