diff options
author | Christoph Hellwig <hch@lst.de> | 2010-01-28 15:19:12 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-10 11:57:03 -0600 |
commit | 15dc2697a51ab39a0e9da95c8ce01675c1cb7090 (patch) | |
tree | a3b937b008d6472dadca8c1d8d88745fcc8cc6bd /qemu-lock.h | |
parent | eaa6c85f5df022e65a3c5c14908cd191430cbff5 (diff) | |
download | hqemu-15dc2697a51ab39a0e9da95c8ce01675c1cb7090.zip hqemu-15dc2697a51ab39a0e9da95c8ce01675c1cb7090.tar.gz |
block: saner flags filtering in bdrv_open2
Clean up the current mess about figuring out which flags to pass to the
driver. BDRV_O_FILE, BDRV_O_SNAPSHOT and BDRV_O_NO_BACKING are flags
only used by the block layer internally so filter them out directly.
Previously BDRV_O_NO_BACKING could accidentally be passed to the drivers,
but wasn't ever used.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-lock.h')
0 files changed, 0 insertions, 0 deletions