diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2012-05-29 08:09:10 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2012-05-29 08:09:10 +0000 |
commit | 06738cac051b671ed26bd137676713eab457b37f (patch) | |
tree | d4c74bfbcc185af8abaa2bcab22255664baf58fb /libdm | |
parent | 8cdb78d0dd6e8f9a8d130712c3ce5a676a8755c1 (diff) | |
download | lvm2-06738cac051b671ed26bd137676713eab457b37f.tar.gz lvm2-06738cac051b671ed26bd137676713eab457b37f.tar.xz lvm2-06738cac051b671ed26bd137676713eab457b37f.zip |
Remove unsupported udev_get_dev_path libudev call used for checking udev dir.
With latest changes in the udev, some deprecated functions were removed
from libudev amongst which there was the "udev_get_dev_path" function
we used to compare a device directory used in udev and directore set in
libdevmapper. The "/dev" is hardcoded in udev now (udev version >= 183).
Amongst other changes and from packager's point of view, it's also
important to note that the libudev development library ("libudev-devel")
could now be a part of the systemd development library ("systemd-devel")
because of the udev + systemd merge.
Diffstat (limited to 'libdm')
-rw-r--r-- | libdm/libdevmapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h index 7df4db8a..1f780a34 100644 --- a/libdm/libdevmapper.h +++ b/libdm/libdevmapper.h @@ -1500,6 +1500,9 @@ struct dm_config_node *dm_config_clone_node(struct dm_config_tree *cft, const st struct dm_pool *dm_config_memory(struct dm_config_tree *cft); +/* Udev device directory. */ +#define DM_UDEV_DEV_DIR "/dev/" + /* Cookie prefixes. * * The cookie value consists of a prefix (16 bits) and a base (16 bits). |