Re: [PATCHv2 4/7] storage: Avoid mangling paths of non-local filesystems when looking up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/03/2014 09:05 AM, Peter Krempa wrote:
> When looking up a volume by path on a non-local filesystem don't use the
> "cleaned" path that might be mangled in such a way that it will differ
> from a path provided by a storage backend.
> 
> Skip the cleanup step for gluster, sheepdog and RBD.
> ---
>  src/storage/storage_driver.c | 82 ++++++++++++++++++++++++++++----------------
>  1 file changed, 53 insertions(+), 29 deletions(-)
> 

> +            case VIR_STORAGE_POOL_MPATH:
> +               stable_path = virStorageBackendStablePath(pool,
> +                                                          cleanpath,
> +                                                          false);

Indentation is off.

ACK with that fixed.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]