From 36b0530e122a4c8102856175907d7ae086e3a4de Mon Sep 17 00:00:00 2001 From: Kenneth Van Alstyne Date: Mon, 17 Dec 2018 20:21:32 -0600 Subject: [PATCH] Removed BlueStore VERSION information as it is gibberish --- libblkid/src/superblocks/bluestore.c | 2 -- tests/expected/blkid/low-probe-bluestore | 1 - 2 files changed, 3 deletions(-) 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 -- 2.47.2