mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Define DM_COOKIE_AUTO_CREATE
TODO: Use it also for already written code.
This commit is contained in:
parent
95d3c5f7e1
commit
b3c6850b1c
@ -1,5 +1,6 @@
|
||||
Version 1.02.61 -
|
||||
====================================
|
||||
Add DM_COOKIE_AUTO_CREATE to libdevmapper.h.
|
||||
Export DM_CONTROL_NODE_UMASK and use it while creating /dev/mapper/control.
|
||||
|
||||
Version 1.02.60 - 20th December 2010
|
||||
|
@ -1214,6 +1214,11 @@ void dm_udev_set_sync_support(int sync_with_udev);
|
||||
int dm_udev_get_sync_support(void);
|
||||
void dm_udev_set_checking(int checking);
|
||||
int dm_udev_get_checking(void);
|
||||
|
||||
/*
|
||||
* Default value to get new auto generated cookie created
|
||||
*/
|
||||
#define DM_COOKIE_AUTO_CREATE 0
|
||||
int dm_udev_create_cookie(uint32_t *cookie);
|
||||
int dm_udev_complete(uint32_t cookie);
|
||||
int dm_udev_wait(uint32_t cookie);
|
||||
|
Loading…
Reference in New Issue
Block a user