block: Remove vhdx compat alias

Re-export Vhdx from formats::vhdx and update the fuzz target to
use block::formats::vhdx::Vhdx. Remove the vhdx compat alias
from lib.rs.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-04-26 22:29:24 +02:00
committed by Rob Bradford
parent 2c8978bbf2
commit c80aaa1b58
3 changed files with 2 additions and 4 deletions

View File

@@ -16,9 +16,8 @@ use std::fs::File;
use std::os::fd::AsRawFd;
use std::sync::{Arc, Mutex};
pub use internal::VhdxError;
pub use internal::{Vhdx, VhdxError};
use self::internal::Vhdx;
use self::worker::sync::VhdxSync;
use crate::async_io::{AsyncIo, BorrowedDiskFd, DiskFileError};
use crate::error::{BlockError, BlockErrorKind, BlockResult, ErrorOp};

View File

@@ -28,7 +28,6 @@ use std::str::FromStr;
use std::{cmp, mem, result};
use formats::qcow::internal as qcow;
pub use formats::vhdx::internal as vhdx;
#[cfg(feature = "io_uring")]
use io_uring::{IoUring, Probe, opcode};
use libc::{

View File

@@ -8,7 +8,7 @@ use std::fs::File;
use std::io::{self, Read, Seek, SeekFrom, Write};
use std::os::unix::io::{FromRawFd, RawFd};
use block::vhdx::Vhdx;
use block::formats::vhdx::Vhdx;
use libfuzzer_sys::{fuzz_target, Corpus};
// Populate the corpus directory with a test file: