diff options
author | Christoph Hellwig <hch@lst.de> | 2010-01-20 18:13:25 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-26 15:42:02 -0600 |
commit | 6987307ca30aead67e8545934186c92f942710f6 (patch) | |
tree | d70243011f5ba6ddad10b0e03d4b29de683c1554 /block/raw-posix.c | |
parent | 392ecf543dd2b219828374850d833296a55567ea (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/raw-posix.c')
0 files changed, 0 insertions, 0 deletions