aboutsummaryrefslogtreecommitdiff
path: root/block/filter-compress.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2020-05-13 13:05:15 +0200
committerKevin Wolf <kwolf@redhat.com>2020-05-18 19:05:25 +0200
commit258b776515cc812a26783ffab98b31aa8eb008d4 (patch)
tree3df593bc8ca2c86359f344d8cbec11de7c672d98 /block/filter-compress.c
parent3284bcf430a1d42885c184de73df52fcfd86d589 (diff)
downloadqemu-258b776515cc812a26783ffab98b31aa8eb008d4.zip
qemu-258b776515cc812a26783ffab98b31aa8eb008d4.tar.gz
qemu-258b776515cc812a26783ffab98b31aa8eb008d4.tar.bz2
block: Add BdrvChildRole to BdrvChild
For now, it is always set to 0. Later patches in this series will ensure that all callers pass an appropriate combination of flags. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200513110544.176672-6-mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/filter-compress.c')
-rw-r--r--block/filter-compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/filter-compress.c b/block/filter-compress.c
index 82c315b..4dc5f9f 100644
--- a/block/filter-compress.c
+++ b/block/filter-compress.c
@@ -30,7 +30,7 @@
static int compress_open(BlockDriverState *bs, QDict *options, int flags,
Error **errp)
{
- bs->file = bdrv_open_child(NULL, options, "file", bs, &child_file, false,
+ bs->file = bdrv_open_child(NULL, options, "file", bs, &child_file, 0, false,
errp);
if (!bs->file) {
return -EINVAL;