dd2ffbc768
1. Don't handle invalid or empty pte entries num_partition_entries field in GPT typically means number of maximum entries and not the number of used entries. Empty entries are indentified with "0" partition type guid. Loop through all the entries 2. Fix the GPT partition size calculation "ending_lba" is included in the partition, it is not the start of the next one. Thus the correct size of the partition is end-start+1 Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae> |
||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
fs_gpt.c | ||
fs_mbr.c | ||
fs_partition.c | ||
fs_ptable.c | ||
partition.h |