mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
devicemapper: add DM_NAME_LIST_FLAG
Match libdm part
This commit is contained in:
parent
566c2f1828
commit
707e7d762e
@ -194,8 +194,22 @@ struct dm_name_list {
|
|||||||
uint32_t next; /* offset to the next record from
|
uint32_t next; /* offset to the next record from
|
||||||
the _start_ of this */
|
the _start_ of this */
|
||||||
char name[0];
|
char name[0];
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The following members can be accessed by taking a pointer that
|
||||||
|
* points immediately after the terminating zero character in "name"
|
||||||
|
* and aligning this pointer to next 8-byte boundary.
|
||||||
|
* Uuid is present if the flag DM_NAME_LIST_FLAG_HAS_UUID is set.
|
||||||
|
*
|
||||||
|
* uint32_t event_nr;
|
||||||
|
* uint32_t flags;
|
||||||
|
* char uuid[0];
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define DM_NAME_LIST_FLAG_HAS_UUID 1
|
||||||
|
#define DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID 2
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Used to retrieve the target versions
|
* Used to retrieve the target versions
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user