@@ -103,7 +103,7 @@ impl Dentry {
hasher.finish()
}
- pub fn find(self: &Arc<Self>, name: &[u8]) -> KResult<Arc<Self>> {
+ fn find(self: &Arc<Self>, name: &[u8]) -> KResult<Arc<Self>> {
let data = self.data.load();
let data = data.as_ref().ok_or(ENOENT)?;
@@ -22,7 +22,6 @@ mod sync;
use crate::kernel::task::alloc_pid;
use alloc::{ffi::CString, sync::Arc};
-use eonix_log::println;
use core::{
hint::spin_loop,
sync::atomic::{AtomicBool, Ordering},