check the udevdb before assigning a new %e
authorKay Sievers <kay.sievers@suse.de>
Mon, 29 Aug 2005 01:48:17 +0000 (03:48 +0200)
committerKay Sievers <kay.sievers@suse.de>
Mon, 29 Aug 2005 01:48:17 +0000 (03:48 +0200)
commit2983db9745f8c2ebd54f8be4a6314733ae227e16
treee855430fa6ba0099fa1b09b7e0c0268c2ac97415
parenta8586078fc768e930624f29347fedcbb5c5f41cf
check the udevdb before assigning a new %e

A second "add" event created a new enumeration with %e. Check the
udevdb first and if a matching name is already used.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udev_rules.c