[pve-devel] [PATCH pve-container 1/2] remove old comment about looopdevices_list
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Oct 6 08:12:06 CEST 2015
---
src/PVE/API2/LXC/Config.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/PVE/API2/LXC/Config.pm b/src/PVE/API2/LXC/Config.pm
index b4a92de..3d79322 100644
--- a/src/PVE/API2/LXC/Config.pm
+++ b/src/PVE/API2/LXC/Config.pm
@@ -280,8 +280,6 @@ __PACKAGE__->register_method({
if ($format eq 'raw') {
my $path = PVE::Storage::path($storage_cfg, $volid, undef);
if ($running) {
- # NOTE: do not use loopdevices_list as losetup's paths get scrambled after a container started
- # (possibly due to namespaces?)
$path = &$query_loopdev($path);
die "internal error: CT running but mountpoint not attached to a loop device"
if !$path; # fixme: zvols and other storages?
--
2.1.4
More information about the pve-devel
mailing list