]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/device.c
tree-wide: refuse enumerated device with ID_PROCESSING=1
[thirdparty/systemd.git] / src / core / device.c
index 93cab92b8ce0669e8c4e20301e86a1e49f3617d3..d8567676a75fa00fdd0e59a6f45336762adabf95 100644 (file)
@@ -1051,6 +1051,9 @@ static void device_enumerate(Manager *m) {
                 _cleanup_set_free_ Set *ready_units = NULL, *not_ready_units = NULL;
                 Device *d;
 
+                if (device_is_processed(dev) <= 0)
+                        continue;
+
                 if (device_setup_units(m, dev, &ready_units, &not_ready_units) < 0)
                         continue;