[libvirt] [PATCHv2 5/7] storage: Don't lie about path used to look up in error message

Eric Blake eblake at redhat.com
Wed Mar 5 04:46:48 UTC 2014


On 03/03/2014 09:05 AM, Peter Krempa wrote:
> In storageVolLookupByPath the provided path is "sanitized" at first.
> This removes some extra slashes and stuff. When the lookup of the volume
> fails the original path is used which makes it hard to trace errors in
> some cases.
> 
> Improve the error message to print the sanitized path along with the
> user provided path if they are not equal.
> ---
>  src/storage/storage_driver.c | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140304/60c7dc78/attachment-0001.sig>


More information about the libvir-list mailing list