From: Felipe Pena Date: Sat, 9 Nov 2013 15:36:09 +0000 (-0200) Subject: block: xen-blkfront: Fix possible NULL ptr dereference X-Git-Tag: v3.13-rc3~8^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f089cb89d2f47702c31bd584c12badc88bbe17c;p=pandora-kernel.git 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 Signed-off-by: Konrad Rzeszutek Wilk [v2: Added WARN per Roger's suggestion] --- Reading git-diff-tree failed