]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Windows SMBFS: Handle volume_name in _qemu_img_info
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 30 Sep 2014 08:58:22 +0000 (11:58 +0300)
committerEric Harney <eharney@redhat.com>
Thu, 2 Oct 2014 16:57:36 +0000 (12:57 -0400)
commit5e0ce63d6df39dcad5a0ef35553369e49c67dfb8
tree4d5a9d7c07b69618f883c2b00bc97d89917b4332
parentdca3c8323cf8cf12aa8ce4ba21f647ce631e8153
Windows SMBFS: Handle volume_name in _qemu_img_info

The volume_name is now parsed to the _qemu_img_info wrapper. As
this method is not prone to security issues because this driver
does not support raw images (at least not yet), we don't have to
perform any checks on the backing image file path.

Thus, this method simply ignores this argument that will be parsed
by the base class methods.

Related-Bug: #1350504

Change-Id: I801a6338250ec2dc631c4058543f7d0088b3e4d4
cinder/volume/drivers/windows/smbfs.py