aboutsummaryrefslogtreecommitdiff
path: root/block_int.h
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_int.h
parent392ecf543dd2b219828374850d833296a55567ea (diff)
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_int.h')
0 files changed, 0 insertions, 0 deletions