Skip to content

Commit 246e1f1

Browse files
committed
rust: error: Add declaration for ENOTRECOVERABLE error
Add a missing errno for ENOTRECOVERABLE. Signed-off-by: Fabien Parent <[email protected]>
1 parent a7a7112 commit 246e1f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/kernel/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ pub mod code {
8181
declare_err!(EIOCBQUEUED, "iocb queued, will get completion event.");
8282
declare_err!(ERECALLCONFLICT, "Conflict with recalled state.");
8383
declare_err!(ENOGRACE, "NFS file lock reclaim refused.");
84+
declare_err!(ENOTRECOVERABLE, "State not recoverable.");
8485
}
8586

8687
/// Generic integer kernel error.

0 commit comments

Comments
 (0)