]> 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 17:04:21 +0000 (13:04 -0400)
commit79afa849658f689a9105473fdfba1d993684d3df
tree37261e47781dce36eefa5e7a503d07885008cb6d
parent608ecf565f99b9840095ecff424e396c4bae631a
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
(cherry picked from commit 5e0ce63d6df39dcad5a0ef35553369e49c67dfb8)
cinder/volume/drivers/windows/smbfs.py