mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdm: export DM_UDEV_SUBSYSTEM_FLAG names for subystem udev flags
Just like we have symbolic names assigned to general DM udev flags (DM_UDEV_* flags), we have the same for any subsystem flags now (DM_SUBSYSTEM_UDEV_FLAG*), making it easier to use.
This commit is contained in:
parent
ec9b3dcecc
commit
23ce3352d7
@ -1,5 +1,6 @@
|
||||
Version 1.02.82 -
|
||||
=====================================
|
||||
Define symbolic names for subsystem udev flags in libdevmapper for easier use.
|
||||
Make subsystem udev rules responsible for importing DM_SUBSYSTEM_UDEV_FLAG*.
|
||||
|
||||
Version 1.02.81 - 23rd September 2013
|
||||
|
@ -1753,6 +1753,18 @@ struct dm_pool *dm_config_memory(struct dm_config_tree *cft);
|
||||
*/
|
||||
#define DM_UDEV_PRIMARY_SOURCE_FLAG 0x0040
|
||||
|
||||
/*
|
||||
* Udev flags reserved for use by any device-mapper subsystem.
|
||||
*/
|
||||
#define DM_SUBSYSTEM_UDEV_FLAG0 0x0100
|
||||
#define DM_SUBSYSTEM_UDEV_FLAG1 0x0200
|
||||
#define DM_SUBSYSTEM_UDEV_FLAG2 0x0400
|
||||
#define DM_SUBSYSTEM_UDEV_FLAG3 0x0800
|
||||
#define DM_SUBSYSTEM_UDEV_FLAG4 0x1000
|
||||
#define DM_SUBSYSTEM_UDEV_FLAG5 0x2000
|
||||
#define DM_SUBSYSTEM_UDEV_FLAG6 0x4000
|
||||
#define DM_SUBSSYTEM_UDEV_FLAG7 0x8000
|
||||
|
||||
int dm_cookie_supported(void);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user