commit | 6987307ca30aead67e8545934186c92f942710f6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jan 20 18:13:25 2010 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Jan 26 15:42:02 2010 -0600 |
tree | d70243011f5ba6ddad10b0e03d4b29de683c1554 | |
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>