« Previous | Next » 

Revision 301db7c2

ID301db7c2dd769d48e97c9a766520f8affff76cd7

Added by Ryan Harper almost 10 years ago

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: Ryan Harper <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences