Large/small file I/O test passed.
This commit is contained in:
parent
8713046a4a
commit
5787214ef6
6 changed files with 67 additions and 16 deletions
|
@ -145,7 +145,7 @@ impl EasyFileSystem {
|
|||
self.data_bitmap.alloc(&self.block_device).unwrap() as u32 + self.data_area_start_block
|
||||
}
|
||||
|
||||
fn dealloc_data(&mut self, block_id: u32) {
|
||||
pub fn dealloc_data(&mut self, block_id: u32) {
|
||||
self.data_bitmap.dealloc(
|
||||
&self.block_device,
|
||||
(block_id - self.data_area_start_block) as usize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue