mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
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>
This commit is contained in:
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",
|
||||
|
||||
.bdrv_open = cor_open,
|
||||
|
|
|
@ -625,7 +625,7 @@ static const char *const block_crypto_strong_runtime_opts[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
BlockDriver bdrv_crypto_luks = {
|
||||
static BlockDriver bdrv_crypto_luks = {
|
||||
.format_name = "luks",
|
||||
.instance_size = sizeof(BlockCrypto),
|
||||
.bdrv_probe = block_crypto_probe_luks,
|
||||
|
|
|
@ -682,7 +682,7 @@ static const char *const replication_strong_runtime_opts[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
BlockDriver bdrv_replication = {
|
||||
static BlockDriver bdrv_replication = {
|
||||
.format_name = "replication",
|
||||
.instance_size = sizeof(BDRVReplicationState),
|
||||
|
||||
|
|
Loading…
Reference in a new issue