[VictoriaFalls] Skipp reading blocks indexed at 0.
This commit is contained in:
parent
594a6aac54
commit
8c95e66277
|
@ -144,7 +144,11 @@ glcr::ErrorOr<mmth::OwnedMemoryRegion> Ext2Driver::ReadFile(
|
||||||
if (block_inner >= real_block_cnt) {
|
if (block_inner >= real_block_cnt) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
blocks_to_read.PushBack(single_indr_block_array[j]);
|
if (single_indr_block_array[j] != 0) {
|
||||||
|
blocks_to_read.PushBack(single_indr_block_array[j]);
|
||||||
|
} else {
|
||||||
|
dbgln("WARN skipping 0 block in inode");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue