commit | 2f089cb89d2f47702c31bd584c12badc88bbe17c | [log] [tgz] |
---|---|---|
author | Felipe Pena <felipensp@gmail.com> | Sat Nov 09 13:36:09 2013 -0200 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Tue Nov 26 11:24:01 2013 -0500 |
tree | 3041158a5ba7d03f4f4f93197c86095794a585b6 | |
parent | 427bfe07e6744c058ce6fc4aa187cda96b635539 [diff] |
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]