[libmultipath] scope limiting fixes
authorChristophe Varoqui <cvaroqui@zezette.localdomain>
Tue, 14 Nov 2006 21:26:38 +0000 (22:26 +0100)
committerChristophe Varoqui <cvaroqui@zezette.localdomain>
Tue, 14 Nov 2006 21:26:38 +0000 (22:26 +0100)
commit60102b2867fdde47221f437227e36f87f54354ac
treef00ceffdeecd4554a41618a43f77d90ba0164846
parentce33ef9a5c0d7afccbfa71ca3af956a74feb1c0e
[libmultipath] scope limiting fixes

I messed up the patch a bit.  Apparently dm_get_uuid() can
return a zero without actually having found a dm name which
matches the name parameter.

Also, I changed dm_get_uuid() so it either returns 1 or a null
string in the uuid return parameter -- in 2 different cases
it was doing neither.

The <dm_device_name> qualifier for the command line
"multipath -ll <dm device name>" can now accept up
to 3 different names for the same dm mapped device,
that is, a user friendly name, an alias in
/etc/multipath.conf, and the current name as
reported by "dmsetup ls".

Edward Goggin, EMC
libmultipath/configure.c
libmultipath/devmapper.c