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

2014-03-04 Thread Eric Blake
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

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

2014-03-03 Thread Peter Krempa
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