Skip to content
Snippets Groups Projects
Commit a0af597d authored by Ryan Harper's avatar Ryan Harper Committed by Justin M. Forbes
Browse files

Don't allow multiwrites against a block device without underlying medium


If the block device has been closed, we no longer have a medium to submit
IO against, check for this before submitting io.  This prevents a segfault
further in the code where we dereference elements of the block driver.

Signed-off-by: default avatarRyan Harper <ryanh@us.ibm.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent d4b4ba03
No related branches found
No related tags found
No related merge requests found
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