[pve-devel] [PATCH container 2/4] cleanup: $mounted_dev is never set in this code path
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Mar 18 10:11:08 CET 2016
This might avoid some confusion in the future...
---
src/PVE/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 58be169..d4645c2 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1071,7 +1071,7 @@ sub mountpoint_mount {
warn "cannot enable quota control for bind mounted subvolumes\n" if $quota;
}
}
- return wantarray ? ($path, 0, $mounted_dev) : $path;
+ return wantarray ? ($path, 0, undef) : $path;
} elsif ($format eq 'raw' || $format eq 'iso') {
my $domount = sub {
my ($path) = @_;
--
2.1.4
More information about the pve-devel
mailing list