Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ext4 #55

Closed
wants to merge 3 commits into from
Closed

add ext4 #55

wants to merge 3 commits into from

Conversation

yuoo655
Copy link

@yuoo655 yuoo655 commented Jun 1, 2024

屏幕截图 2024-06-01 213409
屏幕截图 2024-06-01 213422
屏幕截图 2024-06-01 213437

///
/// Return [`Ok(())`](Ok) if it already exists.
fn create(&self, path: &str, ty: VfsNodeType) -> VfsResult {
log::error!("create {:x?}", path);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unless log

/// Read directory entries into `dirents`, starting from `start_idx`.
fn read_dir(&self, start_idx: usize, dirents: &mut [VfsDirEntry]) -> VfsResult<usize> {
let ext4_file = self.ext4_file.lock();
log::error!("read_dir_inode: {:?}", ext4_file.inode);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unless log

@yuoo655 yuoo655 closed this Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants