Skip to content

Commit

Permalink
rust: error: Add declaration for ENOTRECOVERABLE error
Browse files Browse the repository at this point in the history
Add a missing errno for ENOTRECOVERABLE.

Signed-off-by: Fabien Parent <[email protected]>
  • Loading branch information
Fabo committed Mar 1, 2024
1 parent 62f3e40 commit ee3fa46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/kernel/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ee3fa46

Please sign in to comment.