提交 782b9d06 编写于 作者: A Alberto Garcia 提交者: Kevin Wolf

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

Signed-off-by: NAlberto Garcia <berto@igalia.com>
Signed-off-by: NKevin Wolf <kwolf@redhat.com>
上级 8d9648cb
...@@ -134,7 +134,7 @@ static bool cor_recurse_is_first_non_filter(BlockDriverState *bs, ...@@ -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[] = { ...@@ -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[] = { ...@@ -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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册