block: rename DiskFile::size() -> DiskFile::logical_size()

This better reflects the actual usage.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-12-12 09:06:40 +01:00
committed by Rob Bradford
parent 0ddb032cab
commit 53092359b4
14 changed files with 39 additions and 25 deletions

View File

@@ -75,7 +75,7 @@ impl Seek for FixedVhd {
}
impl BlockBackend for FixedVhd {
fn size(&self) -> std::result::Result<u64, crate::Error> {
fn logical_size(&self) -> Result<u64, crate::Error> {
Ok(self.size)
}
}