1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-08 21:17:47 +03:00

gpt-auto-generator: there's no point in looking for a superblock on raw disk, we only care for a partition table

This commit is contained in:
Lennart Poettering 2014-03-13 01:06:41 +01:00
parent fa041593fe
commit 8d0cfd6c88

View File

@ -436,8 +436,6 @@ static int enumerate_partitions(dev_t devnum) {
return -errno; return -errno;
} }
blkid_probe_enable_superblocks(b, 1);
blkid_probe_set_superblocks_flags(b, BLKID_SUBLKS_TYPE);
blkid_probe_enable_partitions(b, 1); blkid_probe_enable_partitions(b, 1);
blkid_probe_set_partitions_flags(b, BLKID_PARTS_ENTRY_DETAILS); blkid_probe_set_partitions_flags(b, BLKID_PARTS_ENTRY_DETAILS);