From: Nick Piggin Date: Tue, 15 Sep 2009 19:34:51 +0000 (+0200) Subject: writeback: Fix bdi use after free in wb_work_complete() X-Git-Tag: v2.6.32-rc1~672^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b9d059cb3ddb8b1246d5878e81d52926550b23;p=pandora-kernel.git writeback: Fix bdi use after free in wb_work_complete() By the time bdi_work_on_stack gets evaluated again in bdi_work_free, it can already have been deallocated and used for something else in the !on stack case, giving a false positive in this test and causing corruption. Signed-off-by: Nick Piggin Signed-off-by: Jens Axboe --- Reading git-diff-tree failed