From: Kenneth Van Alstyne Date: Tue, 18 Dec 2018 02:21:32 +0000 (-0600) Subject: Removed BlueStore VERSION information as it is gibberish X-Git-Tag: v2.34-rc1~175^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36b0530e122a4c8102856175907d7ae086e3a4de;p=thirdparty%2Futil-linux.git Removed BlueStore VERSION information as it is gibberish --- diff --git a/libblkid/src/superblocks/bluestore.c b/libblkid/src/superblocks/bluestore.c index 24c56f24ab..22f54e163b 100644 --- a/libblkid/src/superblocks/bluestore.c +++ b/libblkid/src/superblocks/bluestore.c @@ -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; } diff --git a/tests/expected/blkid/low-probe-bluestore b/tests/expected/blkid/low-probe-bluestore index 840d4366bb..006d4022b4 100644 --- a/tests/expected/blkid/low-probe-bluestore +++ b/tests/expected/blkid/low-probe-bluestore @@ -1,3 +1,2 @@ ID_FS_TYPE=ceph_bluestore ID_FS_USAGE=other -ID_FS_VERSION=895889930