Fix for uevent devpath handling
authorBenjamin Marzinski <bmarzins@redhat.com>
Thu, 11 Dec 2008 22:03:28 +0000 (16:03 -0600)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Thu, 11 Dec 2008 22:46:09 +0000 (23:46 +0100)
commit7fa7affc3d23dd9dc906804d22a61144bca9f9b9
tree0d571beca6e1311d9cc808b974926ddfcbba841c
parentc8ea021ee4f5adc659d9595f67edc7a4e13683d2
Fix for uevent devpath handling

This is necessary to make uevents work on fedora, since devpath appears as
something like:
'/devices/pci0000:00/0000:00:0a.0/0000:06:00.0/host11/rport-11:0-1/target11:0:1/11:0:1:0/block/sdi'

It simply strips off the everything up to the /block.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
multipathd/main.c