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:
Alberto Garcia
2019-03-19 15:49:29 +01:00
committed by Kevin Wolf
parent 8d9648cbf3
commit 782b9d06bf
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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),