From: Kay Sievers Date: Fri, 8 Aug 2008 20:39:32 +0000 (+0200) Subject: udevadm: trigger - add missing attr filter to synthesized "subsystem" register events X-Git-Tag: 174~1640 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661c67953de513bbcabc9ed6147801c44846fdbb;p=systemd udevadm: trigger - add missing attr filter to synthesized "subsystem" register events --- diff --git a/udev/udevtrigger.c b/udev/udevtrigger.c index d338f826..19a3dbb1 100644 --- a/udev/udevtrigger.c +++ b/udev/udevtrigger.c @@ -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"))