diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-24 16:22:22 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-28 14:44:51 +0200 |
commit | 44b424dc4a3e2d47fa20676f00645fb950d8d76a (patch) | |
tree | 879cb468d717e92fdfd35c9981af161cfa61201a /block/blkdebug.c | |
parent | 41770f6e6ff41ca98e130c79b566f05ec68912fe (diff) |
block: remove separate bdrv_file_open callback
bdrv_file_open and bdrv_open are completely equivalent, they are
never checked except to see which one to invoke. So merge them
into a single one.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r-- | block/blkdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 9da8c9eddc..c95c818c38 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -1073,7 +1073,7 @@ static BlockDriver bdrv_blkdebug = { .is_filter = true, .bdrv_parse_filename = blkdebug_parse_filename, - .bdrv_file_open = blkdebug_open, + .bdrv_open = blkdebug_open, .bdrv_close = blkdebug_close, .bdrv_reopen_prepare = blkdebug_reopen_prepare, .bdrv_child_perm = blkdebug_child_perm, |