[pve-devel] r6340 - pve-storage/pve2/PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jul 21 09:05:19 CEST 2011


Author: dietmar
Date: 2011-07-21 09:05:19 +0200 (Thu, 21 Jul 2011)
New Revision: 6340

Modified:
   pve-storage/pve2/PVE/Storage.pm
Log:


Modified: pve-storage/pve2/PVE/Storage.pm
===================================================================
--- pve-storage/pve2/PVE/Storage.pm	2011-07-21 07:04:32 UTC (rev 6339)
+++ pve-storage/pve2/PVE/Storage.pm	2011-07-21 07:05:19 UTC (rev 6340)
@@ -1977,13 +1977,10 @@
 	    total => 0, 
 	    avail => 0, 
 	    used => 0, 
-	    disable => defined ($ids->{$storeid}->{disable}),
 	    content => content_hash_to_string($ids->{$storeid}->{content}),
 	    active => 0,
 	};
 
-	next if $info->{$storeid}->{disable};
-
 	$stypes->{$type} = 1;
 
 	push @$slist, $storeid;
@@ -2014,7 +2011,7 @@
     foreach my $storeid (keys %$ids) {
 	my $scfg = $ids->{$storeid};
 
-	next if !$info->{$storeid} || $info->{$storeid}->{disable};
+	next if !$info->{$storeid};
 
 	my $type = $scfg->{type};
 




More information about the pve-devel mailing list