chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] add RUN key to be able to run rule based notification
[elogind.git]
/
udevd.c
diff --git
a/udevd.c
b/udevd.c
index 6c4d8b8693be00bcd6f9382fb5e112f47cdab729..91033b068844a42965d48d46db91dc2c6b2558da 100644
(file)
--- a/
udevd.c
+++ b/
udevd.c
@@
-145,7
+145,7
@@
static void msg_queue_insert(struct hotplug_msg *msg)
}
/* forks event and removes event from run queue when finished */
}
/* forks event and removes event from run queue when finished */
-static void
udev_run
(struct hotplug_msg *msg)
+static void
execute_udev
(struct hotplug_msg *msg)
{
char *const argv[] = { "udev", msg->subsystem, NULL };
pid_t pid;
{
char *const argv[] = { "udev", msg->subsystem, NULL };
pid_t pid;
@@
-349,7
+349,7
@@
static void exec_queue_manager(void)
if (!msg) {
/* move event to run list */
list_move_tail(&loop_msg->node, &running_list);
if (!msg) {
/* move event to run list */
list_move_tail(&loop_msg->node, &running_list);
-
udev_run
(loop_msg);
+
execute_udev
(loop_msg);
running++;
dbg("moved seq %llu to running list", loop_msg->seqnum);
} else {
running++;
dbg("moved seq %llu to running list", loop_msg->seqnum);
} else {