]> git.ipfire.org Git - thirdparty/qemu.git/commit
dmg: fix ->open failure
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Jan 2010 13:06:54 +0000 (14:06 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 12 Jan 2010 19:31:21 +0000 (13:31 -0600)
commitd47d251286994f25336b8c9220fa8ffe5866feec
tree01059867dff16967f0f6b8751a755121a2ab8fd9
parent348af56faea99631c4326ac389945799b6539295
dmg: fix ->open failure

Currently the dmg image format driver simply opens the images as raw
if any kind of failure happens.  This is contrarty to the behaviour
of all other image formats which just return an error and let the
block core deal with it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 1559ca00bc90ce6917c2798ed81098e4be67f58e)
block/dmg.c