From: Lennart Poettering Date: Thu, 13 Mar 2014 00:06:41 +0000 (+0100) Subject: gpt-auto-generator: there's no point in looking for a superblock on raw disk, we... X-Git-Tag: v212~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d0cfd6c8858d4f32d1eda122eb5a61e96e6ac54;p=thirdparty%2Fsystemd.git gpt-auto-generator: there's no point in looking for a superblock on raw disk, we only care for a partition table --- diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index 4927919b81d..78643c9a3ce 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -436,8 +436,6 @@ static int enumerate_partitions(dev_t devnum) { 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_set_partitions_flags(b, BLKID_PARTS_ENTRY_DETAILS);