From 511c0b495db0485e70af4f050d26b352e9ac1e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20L=C3=B3pez?= Date: Tue, 7 Jan 2025 15:01:44 +0100 Subject: [PATCH] Rename LinuxIOError to UringIOError to match the IO backend renames --- core/error.rs | 2 +- core/io/io_uring.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/error.rs b/core/error.rs index 8469a17a2..646e85825 100644 --- a/core/error.rs +++ b/core/error.rs @@ -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")] diff --git a/core/io/io_uring.rs b/core/io/io_uring.rs index 8f3314eda..54a02ee61 100644 --- a/core/io/io_uring.rs +++ b/core/io/io_uring.rs @@ -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