[pve-devel] [PATCH 4/4] Fix small variable name conflict.
mir at datanom.net
mir at datanom.net
Sun Jun 9 23:44:06 CEST 2013
From: Michael Rasmussen <mir at datanom.net>
Signed-off-by: Michael Rasmussen <mir at datanom.net>
---
PVE/Storage/ZFSPlugin.pm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm
index 0addd0b..e39b965 100644
--- a/PVE/Storage/ZFSPlugin.pm
+++ b/PVE/Storage/ZFSPlugin.pm
@@ -177,15 +177,15 @@ sub zfs_parse_lu_list {
sub zfs_get_lu_info {
my ($list, $source) = @_;
- my @list = ();
+ my @lu_list = ();
- return \@list if (!$source || !$list);
+ return \@lu_list if (!$source || !$list);
foreach my $lun (@$list) {
- push (@list, $lun) if $lun->{source} =~ /^$source$/;
+ push (@lu_list, $lun) if $lun->{source} =~ /^$source$/;
}
- return \@list;
+ return \@lu_list;
}
sub zfs_list_lun_mapping_entries {
--
1.7.10.4
More information about the pve-devel
mailing list