Skip to content
Snippets Groups Projects
Commit 782b9d06 authored by Alberto Garcia's avatar Alberto Garcia Committed by Kevin Wolf
Browse files

block: Make bdrv_{copy_on_read,crypto_luks,replication} static


Signed-off-by: default avatarAlberto Garcia <berto@igalia.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 8d9648cb
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment