Removed BlueStore VERSION information as it is gibberish
This commit is contained in:
parent
c011711ad6
commit
36b0530e12
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
struct bluestore_phdr {
|
struct bluestore_phdr {
|
||||||
uint8_t magic[BLUESTORE_MAGIC_L];
|
uint8_t magic[BLUESTORE_MAGIC_L];
|
||||||
uint32_t version;
|
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
static int probe_bluestore(blkid_probe pr, const struct blkid_idmag *mag)
|
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)
|
if (header == NULL)
|
||||||
return errno ? -errno : 1;
|
return errno ? -errno : 1;
|
||||||
|
|
||||||
blkid_probe_sprintf_version(pr, "%u", le32_to_cpu(header->version));
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
ID_FS_TYPE=ceph_bluestore
|
ID_FS_TYPE=ceph_bluestore
|
||||||
ID_FS_USAGE=other
|
ID_FS_USAGE=other
|
||||||
ID_FS_VERSION=895889930
|
|
||||||
|
|
Loading…
Reference in New Issue