chiark / gitweb /
do not delete database when renaming netif, the db name does not change anymore
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 15 Jul 2011 00:18:50 +0000 (02:18 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 15 Jul 2011 00:18:50 +0000 (02:18 +0200)
udev/udev-event.c

index 832abbb..a4141e9 100644 (file)
@@ -957,10 +957,6 @@ int udev_event_execute_rules(struct udev_event *event, struct udev_rules *rules,
                        if (err == 0) {
                                info(event->udev, "renamed netif to '%s'\n", event->name);
 
-                               /* delete stale db file */
-                               udev_device_delete_db(dev);
-                               udev_device_tag_index(dev, NULL, false);
-
                                /* remember old name */
                                udev_device_add_property(dev, "INTERFACE_OLD", udev_device_get_sysname(dev));