diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-04-22 19:03:11 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-04-22 19:03:11 +0200 |
commit | 1dbfbfbea6d80971fba6bb57469b5c437a8980d6 (patch) | |
tree | aa1f7926f8663035d5c058acbc7fd2015fe48e02 /udev | |
parent | bfd88b1d7b689ce86a2b04f62ac5a2b23b0aef84 (diff) |
use the usual TAG+=, TAG= logic
Diffstat (limited to 'udev')
-rw-r--r-- | udev/udev-rules.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 5965723919..6f3335b8c8 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -2442,6 +2442,8 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event break; } case TK_A_TAG: + if (cur->key.op == OP_ASSIGN || cur->key.op == OP_ASSIGN_FINAL) + udev_device_cleanup_tags_list(event->dev); udev_device_add_tag(event->dev, &rules->buf[cur->key.value_off]); break; case TK_A_NAME: |