diff options
author | Karel Zak | 2013-11-27 16:55:08 +0100 |
---|---|---|
committer | Karel Zak | 2013-11-27 16:55:08 +0100 |
commit | 4253275490926cf533bfd0bc33279729e9ff427a (patch) | |
tree | e3875327f2d0fb44c4d357a1c616b4bfb48bb884 /libblkid/src/partitions/sgi.c | |
parent | fdisk: (gpt) more human readable info about free space (diff) | |
download | kernel-qcow2-util-linux-4253275490926cf533bfd0bc33279729e9ff427a.tar.gz kernel-qcow2-util-linux-4253275490926cf533bfd0bc33279729e9ff427a.tar.xz kernel-qcow2-util-linux-4253275490926cf533bfd0bc33279729e9ff427a.zip |
libblkid: fix sgi PT parser to report system partitions
... to be compatible with Linux kernel.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/partitions/sgi.c')
-rw-r--r-- | libblkid/src/partitions/sgi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libblkid/src/partitions/sgi.c b/libblkid/src/partitions/sgi.c index bcde84f2a..36dda380c 100644 --- a/libblkid/src/partitions/sgi.c +++ b/libblkid/src/partitions/sgi.c @@ -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; } |