summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libblkid/src/superblocks/bluestore.c2
-rw-r--r--tests/expected/blkid/low-probe-bluestore2
-rw-r--r--tests/ts/blkid/images-fs/bluestore.img.xzbin0 -> 412 bytes
3 files changed, 2 insertions, 2 deletions
diff --git a/libblkid/src/superblocks/bluestore.c b/libblkid/src/superblocks/bluestore.c
index 318aa9fd1..7fcd11da6 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
new file mode 100644
index 000000000..006d4022b
--- /dev/null
+++ b/tests/expected/blkid/low-probe-bluestore
@@ -0,0 +1,2 @@
+ID_FS_TYPE=ceph_bluestore
+ID_FS_USAGE=other
diff --git a/tests/ts/blkid/images-fs/bluestore.img.xz b/tests/ts/blkid/images-fs/bluestore.img.xz
new file mode 100644
index 000000000..4fd8cbde6
--- /dev/null
+++ b/tests/ts/blkid/images-fs/bluestore.img.xz
Binary files differ