]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: make mpool independent on libuuid
authorKarel Zak <kzak@redhat.com>
Tue, 13 Feb 2018 09:30:39 +0000 (10:30 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Feb 2018 09:30:39 +0000 (10:30 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/mpool.c

index 5f30fd496f9150608ec59484f440e828cf20ab9b..da5229b96498d02eb397b1b949f74dbce622c204 100644 (file)
 #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 */