We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f2b9a2 commit 493e373Copy full SHA for 493e373
easy-fs/src/efs.rs
@@ -36,7 +36,7 @@ impl EasyFileSystem {
36
let data_bitmap_blocks = (data_total_blocks + 4096) / 4097;
37
let data_area_blocks = data_total_blocks - data_bitmap_blocks;
38
let data_bitmap = Bitmap::new(
39
- (1 + inode_bitmap_blocks + inode_area_blocks) as usize,
+ (1 + inode_total_blocks) as usize,
40
data_bitmap_blocks as usize,
41
);
42
let mut efs = Self {
0 commit comments