Skip to content
Commit 6464920a authored by Laszlo Ersek's avatar Laszlo Ersek Committed by Konrad Rzeszutek Wilk
Browse files

xen/blkback: don't call vbd_size() if bd_disk is NULL



...because vbd_size() dereferences bd_disk if bd_part is NULL.

Signed-off-by: default avatarLaszlo <Ersek&lt;lersek@redhat.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 4c49ff3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment