Skip to content

Commit c197ae4

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 f5a2ea2 commit c197ae4

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
@@ -82,6 +82,7 @@ pub mod code {
8282
declare_err!(EIOCBQUEUED, "iocb queued, will get completion event.");
8383
declare_err!(ERECALLCONFLICT, "Conflict with recalled state.");
8484
declare_err!(ENOGRACE, "NFS file lock reclaim refused.");
85+
declare_err!(ENOTRECOVERABLE, "State not recoverable.");
8586
}
8687

8788
/// Generic integer kernel error.

0 commit comments

Comments
 (0)