mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
dm: uevent generate events
This patch adds support for the dm_path_event dm_send_event functions which create and send udev events. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
parent
51e5b2bd34
commit
7a8c3d3b92
5 changed files with 295 additions and 0 deletions
|
@ -183,6 +183,8 @@ int dm_resume(struct mapped_device *md);
|
|||
*/
|
||||
uint32_t dm_get_event_nr(struct mapped_device *md);
|
||||
int dm_wait_event(struct mapped_device *md, int event_nr);
|
||||
uint32_t dm_next_uevent_seq(struct mapped_device *md);
|
||||
void dm_uevent_add(struct mapped_device *md, struct list_head *elist);
|
||||
|
||||
/*
|
||||
* Info functions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue