From: Arne Redlich Date: Fri, 16 Mar 2012 07:19:33 +0000 (+0100) Subject: drbd: bm_page_async_io: properly initialize page->private X-Git-Tag: v3.5-rc1~41^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7db27920a87a8db73ca521b527617eceec3bca;p=pandora-kernel.git drbd: bm_page_async_io: properly initialize page->private If bm_page_async_io is advised to use a new page for I/O (BM_AIO_COPY_PAGES is set), it will get it from a mempool. Once the mempool has to dip into its reserves the page is not reinitialized, i.e. page->private contains garbage, which will lead to various problems once the I/O completes (dereferences of NULL pointers, the submitting thread getting stuck in D-state, ...). Signed-off-by: Arne Redlich Signed-off-by: Lars Ellenberg Signed-off-by: Philipp Reisner --- Reading git-diff-tree failed