Create two files and list them.

This commit is contained in:
Yifan Wu 2020-12-19 15:28:42 +08:00
parent 00eaa64e7d
commit 3c1419185d
7 changed files with 104 additions and 36 deletions

View file

@ -6,13 +6,11 @@ use super::{
DirEntry,
DirentBytes,
EasyFileSystem,
BLOCK_SZ,
DIRENT_SZ,
};
use alloc::sync::Arc;
use alloc::string::String;
use alloc::vec::Vec;
use crate::layout::DiskInodeType::Directory;
use spin::{Mutex, MutexGuard};
pub struct Inode {