]> err.no Git - systemd/commitdiff
udevadm: trigger - add missing attr filter to synthesized "subsystem" register events
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Aug 2008 20:39:32 +0000 (22:39 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Aug 2008 20:39:32 +0000 (22:39 +0200)
udev/udevtrigger.c

index d338f826644480babc332510fada34922d4a7b68..19a3dbb10e1979137567e356da1842fd51b7728e 100644 (file)
@@ -392,6 +392,8 @@ static void scan_subsystem(const char *subsys, enum scan_type scan)
                        strlcat(dirname, dent->d_name, sizeof(dirname));
 
                        if (scan == SCAN_SUBSYSTEM) {
+                               if (attr_filtered(dirname))
+                                       continue;
                                if (!subsystem_filtered("subsystem"))
                                        device_list_insert(dirname);
                                if (subsystem_filtered("drivers"))