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

@ -247,7 +247,7 @@ pub struct DirEntry {
pub const DIRENT_SZ: usize = 32;
pub type DirentBlock = [DirEntry; BLOCK_SZ / DIRENT_SZ];
//pub type DirentBlock = [DirEntry; BLOCK_SZ / DIRENT_SZ];
pub type DirentBytes = [u8; DIRENT_SZ];
impl DirEntry {