Skip to contentSkip to conversation

rust: file: fix build error

PATCH In review Onur Özkan 2 participants 2 messages Aug 30, 2025 – Sep 1, 2025

Subsystems (2)
lore
Share & tools
lore

Onur Özkan

author reviewer
#0 lore raw

PATCH 1/1 rust: file: fix build error

Fixes an obvious error most likely caused while
resolving a merge conflict from other patches.

---
 rust/kernel/fs/file.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/fs/file.rs +1 -1
index f9cf6239916a..f1a3fa698745 100644
@@ -10,7 +10,7 @@
 use crate::{
     bindings,
     cred::Credential,
-    error::{code::*, Error, Result},
+    error::{code::*, to_result, Error, Result},
     sync::aref::{ARef, AlwaysRefCounted},
     types::{NotThreadSafe, Opaque},
 };

--
2.50.0