]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Removed BlueStore VERSION information as it is gibberish
authorKenneth Van Alstyne <kvanalstyne@knightpoint.com>
Tue, 18 Dec 2018 02:21:32 +0000 (20:21 -0600)
committerKenneth Van Alstyne <kvanalstyne@knightpoint.com>
Tue, 18 Dec 2018 02:21:32 +0000 (20:21 -0600)
libblkid/src/superblocks/bluestore.c
tests/expected/blkid/low-probe-bluestore

index 24c56f24aba735829d5ad548b718cb1841e6303b..22f54e163b4ff63616c1b8b0e41e8ebb28de07b9 100644 (file)
@@ -27,7 +27,6 @@
 
 struct bluestore_phdr {
        uint8_t         magic[BLUESTORE_MAGIC_L];
-       uint32_t        version;
 } __attribute__((packed));
 
 static int probe_bluestore(blkid_probe pr, const struct blkid_idmag *mag)
@@ -38,7 +37,6 @@ static int probe_bluestore(blkid_probe pr, const struct blkid_idmag *mag)
        if (header == NULL)
                return errno ? -errno : 1;
 
-       blkid_probe_sprintf_version(pr, "%u", le32_to_cpu(header->version));
        return 0;
 }
 
index 840d4366bbb92277c9dd078c15083642e06b2b35..006d4022b46c486537550982abd798476d0a802b 100644 (file)
@@ -1,3 +1,2 @@
 ID_FS_TYPE=ceph_bluestore
 ID_FS_USAGE=other
-ID_FS_VERSION=895889930