summaryrefslogtreecommitdiffstats
path: root/libblkid
diff options
context:
space:
mode:
authorKarel Zak2018-02-13 10:30:39 +0100
committerKarel Zak2018-02-13 10:30:39 +0100
commitdcca7846c0f353780332882d2b94b7936e447850 (patch)
treec81d49f56dcda2a2e8203c1a4ae38841041a31fe /libblkid
parenttests: column(1) test for space-char separator (diff)
downloadkernel-qcow2-util-linux-dcca7846c0f353780332882d2b94b7936e447850.tar.gz
kernel-qcow2-util-linux-dcca7846c0f353780332882d2b94b7936e447850.tar.xz
kernel-qcow2-util-linux-dcca7846c0f353780332882d2b94b7936e447850.zip
libblkid: make mpool independent on libuuid
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid')
-rw-r--r--libblkid/src/superblocks/mpool.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libblkid/src/superblocks/mpool.c b/libblkid/src/superblocks/mpool.c
index 5f30fd496..da5229b96 100644
--- a/libblkid/src/superblocks/mpool.c
+++ b/libblkid/src/superblocks/mpool.c
@@ -13,14 +13,12 @@
#include "crc32c.h"
#include "superblocks.h"
-#include <uuid.h>
-
#define MAX_MPOOL_NAME_LEN 32
struct omf_sb_descriptor {
uint64_t osb_magic;
uint8_t osb_name[MAX_MPOOL_NAME_LEN];
- uuid_t osb_poolid; /* UUID of pool this drive belongs to */
+ unsigned char osb_poolid[16]; /* UUID of pool this drive belongs to */
uint16_t osb_vers;
uint32_t osb_gen;
uint32_t osb_cksum1; /* crc32c of the preceding fields */