summaryrefslogtreecommitdiff
path: root/block/nbd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-01-20 18:13:25 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-26 15:42:02 -0600
commit6987307ca30aead67e8545934186c92f942710f6 (patch)
treed70243011f5ba6ddad10b0e03d4b29de683c1554 /block/nbd.c
parent392ecf543dd2b219828374850d833296a55567ea (diff)
downloadqemu-6987307ca30aead67e8545934186c92f942710f6.tar.gz
block: clean up bdrv_open2 structure a bit
Check the whitelist as early as possible instead of continuing the setup, and move all the error handling code to the end of the function. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions