Rename LinuxIOError to UringIOError to match the IO backend renames

This commit is contained in:
Jorge López
2025-01-07 15:01:44 +01:00
parent e5a12bdf01
commit 511c0b495d
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ pub enum LimboError {
IOError(#[from] std::io::Error),
#[cfg(all(target_os = "linux", feature = "io_uring"))]
#[error("I/O error: {0}")]
LinuxIOError(String),
UringIOError(String),
#[error("Locking error: {0}")]
LockingError(String),
#[cfg(target_family = "unix")]

View File

@@ -165,7 +165,7 @@ impl IO for UringIO {
while let Some(cqe) = ring.get_completion() {
let result = cqe.result();
if result < 0 {
return Err(LimboError::LinuxIOError(format!(
return Err(LimboError::UringIOError(format!(
"{} cqe: {:?}",
UringIOError::IOUringCQError(result),
cqe