ext2: remove ext2_dir struct and funcs

This commit is contained in:
Michael Shaw 2023-10-18 21:53:43 -04:00
commit 017758ea41
4 changed files with 12 additions and 39 deletions

View file

@ -58,7 +58,7 @@ void block_gpt_init(struct block_device *dev)
if (entry->lba_first == 0)
continue;
if (entry->lba_first > dev->block_count)
if (entry->lba_first >= dev->block_count)
continue;
/* Name and register the partition */