[pve-devel] [PATCH 1/6] ISCSIPlugin : remove specific volume_size_info
Alexandre Derumier
aderumier at odiso.com
Sun Aug 5 10:03:25 CEST 2012
no need to use volume_size_info, we can use generic volume_size_info from Plugin. (file_size_info)
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/Storage/ISCSIPlugin.pm | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index c361a20..f3a402c 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage/ISCSIPlugin.pm
@@ -378,10 +378,5 @@ sub check_connection {
return iscsi_test_portal($portal);
}
-sub volume_size_info {
- my ($class, $scfg, $storeid, $volname, $timeout) = @_;
-
- return undef;
-}
1;
--
1.7.2.5
More information about the pve-devel
mailing list