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