multipath: enable getting uevents through libudev
authorBenjamin Marzinski <bmarzins@redhat.com>
Tue, 10 Apr 2012 04:01:54 +0000 (23:01 -0500)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 10 Apr 2012 04:41:10 +0000 (06:41 +0200)
commit970c9f4d4b25329dd524f19ad14c65cac1c711c5
tree115b9e8e713fc87b988f08a22faa8cc82807fd5f
parent389aa04aeb2525cd677b9183d1c1c59826665a32
multipath: enable getting uevents through libudev

udev is removing support for RUN+="socket:..." rules. For now, I've kept
all the existing uevent code, but I've added a new method for getting the
uevent information using libudev that will be tried first.

This version includes more error checking.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/Makefile
libmultipath/uevent.c