diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-17 09:38:37 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-05 16:59:14 +0200 |
commit | 59b9c6291c4fcacf2e8290d79560aa78edbbbe2e (patch) | |
tree | e35c783382f1ca47404a22908e23cb4075ae4521 /block/partitions/ldm.h | |
parent | 01633fd254182eaa9372efa5c0688bf286e60d6b (diff) | |
download | op-kernel-dev-59b9c6291c4fcacf2e8290d79560aa78edbbbe2e.zip op-kernel-dev-59b9c6291c4fcacf2e8290d79560aa78edbbbe2e.tar.gz |
partitions/ldm: switch to use uuid_t
And the uuid helpers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'block/partitions/ldm.h')
-rw-r--r-- | block/partitions/ldm.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/block/partitions/ldm.h b/block/partitions/ldm.h index 374242c..f4c6055 100644 --- a/block/partitions/ldm.h +++ b/block/partitions/ldm.h @@ -112,8 +112,6 @@ struct frag { /* VBLK Fragment handling */ /* In memory LDM database structures. */ -#define GUID_SIZE 16 - struct privhead { /* Offsets and sizes are in sectors. */ u16 ver_major; u16 ver_minor; @@ -121,7 +119,7 @@ struct privhead { /* Offsets and sizes are in sectors. */ u64 logical_disk_size; u64 config_start; u64 config_size; - u8 disk_id[GUID_SIZE]; + uuid_t disk_id; }; struct tocblock { /* We have exactly two bitmaps. */ @@ -154,7 +152,7 @@ struct vblk_dgrp { /* VBLK Disk Group */ }; struct vblk_disk { /* VBLK Disk */ - u8 disk_id[GUID_SIZE]; + uuid_t disk_id; u8 alt_name[128]; }; |