diff options
author | Max Reitz <mreitz@redhat.com> | 2020-05-13 13:05:17 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-05-18 19:05:25 +0200 |
commit | 272c02eaef0388225c1dcdbec99b2e838bb64d23 (patch) | |
tree | 0b2dd0f70a9c93cf660a3a0ec31ed0896dd86fbc /block/vvfat.c | |
parent | bf8e925eb569f31466eb5c9d935959a58772eec6 (diff) | |
download | qemu-272c02eaef0388225c1dcdbec99b2e838bb64d23.zip qemu-272c02eaef0388225c1dcdbec99b2e838bb64d23.tar.gz qemu-272c02eaef0388225c1dcdbec99b2e838bb64d23.tar.bz2 |
block: Pass BdrvChildRole to .inherit_options()
For now, all callers (effectively) pass 0 and no callee evaluates thie
value. Later patches will change both.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200513110544.176672-8-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vvfat.c')
-rw-r--r-- | block/vvfat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/vvfat.c b/block/vvfat.c index 6cf3c74..4033e4f 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -3128,7 +3128,8 @@ static BlockDriver vvfat_write_target = { .bdrv_co_pwritev = write_target_commit, }; -static void vvfat_qcow_options(int *child_flags, QDict *child_options, +static void vvfat_qcow_options(BdrvChildRole role, + int *child_flags, QDict *child_options, int parent_flags, QDict *parent_options) { qdict_set_default_str(child_options, BDRV_OPT_READ_ONLY, "off"); |