block: vhdx: Rename VhdxDiskSync to VhdxDisk

Align with the <Format>Disk wrapper naming convention. VHDx
has a single on disk format so no variant suffix is needed.
The async backend will be added to VhdxDisk.

No functional change.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-04-24 17:51:23 +02:00
committed by Rob Bradford
parent 45fd51652f
commit 82e1c08e1f
2 changed files with 14 additions and 14 deletions

View File

@@ -23,7 +23,7 @@ use crate::error::{BlockError, BlockErrorKind, BlockResult};
use crate::fixed_vhd_disk::FixedVhdDisk;
use crate::qcow_disk::QcowDisk;
use crate::raw_disk::{RawBackend, RawDisk};
use crate::vhdx_sync::VhdxDiskSync;
use crate::vhdx_sync::VhdxDisk;
use crate::{
ImageType, block_aio_is_supported, detect_image_type, open_disk_image, preallocate_disk,
};
@@ -114,7 +114,7 @@ fn open_vhdx(
) -> BlockResult<Box<dyn AsyncFullDiskFile>> {
info!("Opening VHDX disk file with synchronous backend");
Ok(Box::new(
VhdxDiskSync::new(file).map_err(|e| e.with_path(options.path))?,
VhdxDisk::new(file).map_err(|e| e.with_path(options.path))?,
))
}