raw-posix: open flags use BDRV_ namespace, not posix namespace
commit736d0c25ed3e13a3af3d24524c05be1bb1ff5158
authorAvi Kivity <avi@redhat.com>
Tue, 16 Jun 2009 13:21:08 +0000 (16 16:21 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:18:35 +0000 (16 15:18 -0500)
treeb80469c9588b914be76b4558495147b630272fda
parentd3fa1e0f36ee3b4fc61bd5c6b681c82932ebec41
raw-posix: open flags use BDRV_ namespace, not posix namespace

The flags argument to raw_common_open() contain bits defined by the BDRV_O_*
namespace, not the posix O_* namespace.

Adjust to use the correct constants.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/raw-posix.c