Import easy-fs in os && change easy-fs to no_std mode.
This commit is contained in:
parent
94267a47c4
commit
760de97155
6 changed files with 7 additions and 17 deletions
|
@ -82,7 +82,6 @@ impl EasyFileSystem {
|
|||
let super_block_dirty: Dirty<SuperBlock> = Dirty::new(0, 0, block_device.clone());
|
||||
let super_block = super_block_dirty.get_ref();
|
||||
assert!(super_block.is_valid(), "Error loading EFS!");
|
||||
println!("{:?}", super_block);
|
||||
let inode_total_blocks =
|
||||
super_block.inode_bitmap_blocks + super_block.inode_area_blocks;
|
||||
let efs = Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue