summaryrefslogtreecommitdiffstats
path: root/fs/ceph/locks.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2012-05-28 08:44:30 +0200
committerAlex Elder <elder@inktank.com>2012-06-20 14:43:48 +0200
commit61600ef8483924039dcdec8b4717ca32bd3353c6 (patch)
tree3bb61de61e148b7adcae79b978c8b644a2582691 /fs/ceph/locks.c
parentMerge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/... (diff)
downloadlinux-61600ef8483924039dcdec8b4717ca32bd3353c6.tar.xz
linux-61600ef8483924039dcdec8b4717ca32bd3353c6.zip
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> (cherry picked from commit 28c0254ede13ab575d2df5c6585ed3d4817c3e6b)
Diffstat (limited to 'fs/ceph/locks.c')
0 files changed, 0 insertions, 0 deletions