summaryrefslogtreecommitdiff
path: root/libudev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-08-11 14:34:32 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-08-11 14:34:32 +0200
commitebd189621f4b7e0034ea7a7067199bc9a0f28145 (patch)
tree0aa9b39dd7ab5c545fb1294bbea172da7493541b /libudev/libudev-private.h
parentce9a42bec40330d0a0c83d21f07177cb2d08f1ac (diff)
do not rename the database on device rename
Harald Hoyer discovered some incorrect behavior while debugging problems with network interface renaming: Udev events might be queued for devices which are renamed. A new device registered the same time may claime the old name and create a database entry for it. The current rename logic would move over this databse entry to the wrong device.
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r--libudev/libudev-private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h
index 475f992ba7..7ed4afc42c 100644
--- a/libudev/libudev-private.h
+++ b/libudev/libudev-private.h
@@ -104,7 +104,6 @@ void udev_device_set_info_loaded(struct udev_device *device);
/* libudev-device-private.c */
int udev_device_update_db(struct udev_device *udev_device);
int udev_device_delete_db(struct udev_device *udev_device);
-int udev_device_rename_db(struct udev_device *udev_device);
int udev_device_tag_index(struct udev_device *dev, struct udev_device *dev_old, bool add);
/* libudev-monitor.c - netlink/unix socket communication */