libblkid: fix sgi PT parser to report system partitions
... to be compatible with Linux kernel. Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
6d0ed4cb38
commit
4253275490
|
@ -52,8 +52,7 @@ static int probe_sgi_pt(blkid_probe pr,
|
|||
uint32_t type = be32_to_cpu(p->type);
|
||||
blkid_partition par;
|
||||
|
||||
if (size == 0 || type == SGI_TYPE_ENTIRE_DISK ||
|
||||
type == SGI_TYPE_VOLHDR) {
|
||||
if (!size) {
|
||||
blkid_partlist_increment_partno(ls);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue