From ee3fa46a237b09c30515bd2e8c2c82ae32cd3435 Mon Sep 17 00:00:00 2001 From: Fabien Parent Date: Wed, 7 Feb 2024 21:33:11 -0800 Subject: [PATCH] rust: error: Add declaration for ENOTRECOVERABLE error Add a missing errno for ENOTRECOVERABLE. Signed-off-by: Fabien Parent --- rust/kernel/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/kernel/error.rs b/rust/kernel/error.rs index 4786d3ee1e9291..58aba6e67ad69b 100644 --- a/rust/kernel/error.rs +++ b/rust/kernel/error.rs @@ -81,6 +81,7 @@ pub mod code { declare_err!(EIOCBQUEUED, "iocb queued, will get completion event."); declare_err!(ERECALLCONFLICT, "Conflict with recalled state."); declare_err!(ENOGRACE, "NFS file lock reclaim refused."); + declare_err!(ENOTRECOVERABLE, "State not recoverable."); } /// Generic integer kernel error.