summaryrefslogtreecommitdiff
path: root/security/keys
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-03-20 02:34:00 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-03-21 15:17:24 (GMT)
commitb125130b22d67f249beba10b71a254558b5279d0 (patch)
treef42f4f732a2d7920009f34d798d1803def38ea44 /security/keys
parentcd649b8bb830d65c57c3c8b98d57b5402256d8bd (diff)
downloadlinux-fsl-qoriq-b125130b22d67f249beba10b71a254558b5279d0.tar.xz
blktrace: avoid accessing NULL bdev->bd_disk
bdev->bd_disk can be NULL, if the block device is not opened. Try this against an unmounted partition, and you'll see NULL dereference: # echo 1 > /sys/block/sda/sda5/enable Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jens Axboe <jens.axboe@oracle.com> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <49C30098.6080107@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions