chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main: fix auto restarting of units after a configuration reload
[elogind.git]
/
src
/
device.h
diff --git
a/src/device.h
b/src/device.h
index 654499cfd7f0b528fdcdc9c1ac3c156ea72842ca..5757c9139d9470e7ec1a74ed5d7e88b45477a409 100644
(file)
--- a/
src/device.h
+++ b/
src/device.h
@@
-41,6
+41,12
@@
struct Device {
DeviceState state;
char *sysfs;
DeviceState state;
char *sysfs;
+
+ /* In order to be able to distuingish dependencies on
+ different device nodes we might end up creating multiple
+ devices for the same sysfs path. We chain them up here. */
+
+ LIST_FIELDS(struct Device, same_sysfs);
};
extern const UnitVTable device_vtable;
};
extern const UnitVTable device_vtable;