mirror of https://github.com/proxmox/mirror_qemu
block: Make bdrv_{copy_on_read,crypto_luks,replication} static
Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>master
parent
8d9648cbf3
commit
782b9d06bf
|
@ -134,7 +134,7 @@ static bool cor_recurse_is_first_non_filter(BlockDriverState *bs,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BlockDriver bdrv_copy_on_read = {
|
static BlockDriver bdrv_copy_on_read = {
|
||||||
.format_name = "copy-on-read",
|
.format_name = "copy-on-read",
|
||||||
|
|
||||||
.bdrv_open = cor_open,
|
.bdrv_open = cor_open,
|
||||||
|
|
|
@ -625,7 +625,7 @@ static const char *const block_crypto_strong_runtime_opts[] = {
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
BlockDriver bdrv_crypto_luks = {
|
static BlockDriver bdrv_crypto_luks = {
|
||||||
.format_name = "luks",
|
.format_name = "luks",
|
||||||
.instance_size = sizeof(BlockCrypto),
|
.instance_size = sizeof(BlockCrypto),
|
||||||
.bdrv_probe = block_crypto_probe_luks,
|
.bdrv_probe = block_crypto_probe_luks,
|
||||||
|
|
|
@ -682,7 +682,7 @@ static const char *const replication_strong_runtime_opts[] = {
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
BlockDriver bdrv_replication = {
|
static BlockDriver bdrv_replication = {
|
||||||
.format_name = "replication",
|
.format_name = "replication",
|
||||||
.instance_size = sizeof(BDRVReplicationState),
|
.instance_size = sizeof(BDRVReplicationState),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue