diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-04-12 22:08:05 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-04-12 22:08:05 +0200 |
commit | ff9a488d8c559a2ee40e522cdc68b750670711e4 (patch) | |
tree | be773a20aff7ccbae7ef8cc9b6e2cab33d3e27ad /udev.h | |
parent | 00a074480e4ab15e61f13f8791015fa0befcadce (diff) |
remove old symlinks before creating current ones
This will prevent incorrect symlinks when a filesystem
label is changed and the event is triggered again from
sysfs.
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,8 @@ extern char *sysfs_attr_get_value(const char *devpath, const char *attr_name); /* udev_node.c */ extern int udev_node_mknod(struct udevice *udev, const char *file, dev_t devt, mode_t mode, uid_t uid, gid_t gid); -extern int udev_node_add(struct udevice *udev); +extern int udev_node_add(struct udevice *udev, struct udevice *udev_old); +extern void udev_node_remove_symlinks(struct udevice *udev); extern int udev_node_remove(struct udevice *udev); /* udev_db.c */ |