diff --git a/sys/victoriafalls/fs/ext2/ext2_driver.cpp b/sys/victoriafalls/fs/ext2/ext2_driver.cpp index 2202163..155c6c0 100644 --- a/sys/victoriafalls/fs/ext2/ext2_driver.cpp +++ b/sys/victoriafalls/fs/ext2/ext2_driver.cpp @@ -144,7 +144,11 @@ glcr::ErrorOr Ext2Driver::ReadFile( if (block_inner >= real_block_cnt) { 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"); + } } }