diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-11-09 13:36:09 -0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-11-26 11:24:01 -0500 |
commit | 2f089cb89d2f47702c31bd584c12badc88bbe17c (patch) | |
tree | 3041158a5ba7d03f4f4f93197c86095794a585b6 /mm/ksm.c | |
parent | 427bfe07e6744c058ce6fc4aa187cda96b635539 (diff) | |
download | linux-2f089cb89d2f47702c31bd584c12badc88bbe17c.tar.gz linux-2f089cb89d2f47702c31bd584c12badc88bbe17c.tar.bz2 linux-2f089cb89d2f47702c31bd584c12badc88bbe17c.zip |
block: xen-blkfront: Fix possible NULL ptr dereference
In the blkif_release function the bdget_disk() call might returns
a NULL ptr which might be dereferenced on bdev->bd_openers checking
Signed-off-by: Felipe Pena <felipensp@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[v2: Added WARN per Roger's suggestion]
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions