summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-08-08 22:39:32 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-08-08 22:39:32 +0200
commit661c67953de513bbcabc9ed6147801c44846fdbb (patch)
tree1e6e51528296db6b3c4df0dc17192c83d164220e /udev
parent72a157b9ad240a075d0a6936168a297df51e3c50 (diff)
udevadm: trigger - add missing attr filter to synthesized "subsystem" register events
Diffstat (limited to 'udev')
-rw-r--r--udev/udevtrigger.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/udevtrigger.c b/udev/udevtrigger.c
index d338f82664..19a3dbb10e 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"))