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