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.6-rc1~36^2~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28c0254ede13ab575d2df5c6585ed3d4817c3e6b;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 --- Reading git-diff-tree failed