]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC/Config.pm
drop old mount code
[pve-container.git] / src / PVE / LXC / Config.pm
index 2dd57e2b630a318514872183d6f3a16da0163b66..56e1f1047c3521b0958a64e3adfb95e59a288c3a 100644 (file)
@@ -1415,10 +1415,6 @@ sub vmconfig_hotplug_pending {
                    $hotplug_memory->($conf->{pending}->{memory}, $conf->{pending}->{swap});
                }
            } elsif ($opt =~ m/^mp(\d+)$/) {
-               if (!PVE::LXC::Tools::can_use_new_mount_api()) {
-                   die "skip\n";
-               }
-
                if (exists($conf->{$opt})) {
                    die "skip\n"; # don't try to hotplug over existing mp
                }