]> err.no Git - systemd/commitdiff
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 832abbbfce097007e8e2116054b562d5b5b58e58..a4141e9c4b245d069390a68e8c8ccd38a4fbaaa6 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));