Skip to contentSkip to conversation

block: Add options QDict to bdrv_file_open() prototypes (fix MinGW build)

PATCH Applied Stefan Weil 2 participants 2 messages Mar 24, 2013 – Mar 25, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Add options QDict to bdrv_file_open() prototypes (fix MinGW build)

The new parameter is unused yet.

This part was missing in commit 787e4a8500020695eb391e2f1cc4767ee071d441.

Cc Kevin Wolf <[email protected]>
Cc Eric Blake <[email protected]>
---
 block/raw-win32.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
block/raw-win32.c +4 -2
index 18e0068..ece2f1a 100644
@@ -221,7 +221,8 @@ static void raw_parse_flags(int flags, int *access_flags, DWORD *overlapped)
     }
 }
 
-static int raw_open(BlockDriverState *bs, const char *filename, int flags)
+static int raw_open(BlockDriverState *bs, const char *filename,
+                    QDict *options, int flags)
 {
     BDRVRawState *s = bs->opaque;
     int access_flags;
@@ -494,7 +495,8 @@ static int hdev_probe_device(const char *filename)
     return 0;
 }
 
-static int hdev_open(BlockDriverState *bs, const char *filename, int flags)
+static int hdev_open(BlockDriverState *bs, const char *filename,
+                     QDict *options, int flags)
 {
     BDRVRawState *s = bs->opaque;
     int access_flags, create_flags;
Signature · 1 line
1.7.10.4