From: Yan, Zheng Date: Mon, 28 May 2012 06:44:30 +0000 (+0800) Subject: ceph: check PG_Private flag before accessing page->private X-Git-Tag: v3.5-rc4~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61600ef8483924039dcdec8b4717ca32bd3353c6;p=pandora-kernel.git ceph: check PG_Private flag before accessing page->private I got lots of NULL pointer dereference Oops when compiling kernel on ceph. The bug is because the kernel page migration routine replaces some pages in the page cache with new pages, these new pages' private can be non-zero. Signed-off-by: Zheng Yan Signed-off-by: Sage Weil (cherry picked from commit 28c0254ede13ab575d2df5c6585ed3d4817c3e6b) --- Reading git-diff-tree failed