diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2012-05-28 10:44:30 +0400 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-06-01 17:06:29 +0400 |
commit | 28c0254ede13ab575d2df5c6585ed3d4817c3e6b (patch) | |
tree | ec4ea075748189c9be942fb41c70691d21b4d2df /include/linux/ceph | |
parent | 6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad (diff) | |
download | linux-28c0254ede13ab575d2df5c6585ed3d4817c3e6b.tar.xz |
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 <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'include/linux/ceph')
0 files changed, 0 insertions, 0 deletions