« Previous | Next » 

Revision 301db7c2


Added by Ryan Harper about 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences