ext2: remove ext2_dir struct and funcs
This commit is contained in:
parent
746c907a43
commit
017758ea41
4 changed files with 12 additions and 39 deletions
2
fs/gpt.c
2
fs/gpt.c
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue