Revision 1a3c5d4e lib/bdev.py

b/lib/bdev.py
699 699
    return data
700 700

  
701 701
  @classmethod
702
  def GetVGInfo(cls, vg_names, filter_readonly=True):
702
  def GetVGInfo(cls, vg_names, excl_stor, filter_readonly=True):
703 703
    """Get the free space info for specific VGs.
704 704

  
705 705
    @param vg_names: list of volume group names, if empty all will be returned
706
    @param excl_stor: whether exclusive_storage is enabled
706 707
    @param filter_readonly: whether to skip over readonly VGs
707 708

  
708 709
    @rtype: list
......
921 922
    snap = LogicalVolume((self._vg_name, snap_name), None, size, self.params)
922 923
    _IgnoreError(snap.Remove)
923 924

  
924
    vg_info = self.GetVGInfo([self._vg_name])
925
    vg_info = self.GetVGInfo([self._vg_name], False)
925 926
    if not vg_info:
926 927
      _ThrowError("Can't compute VG info for vg %s", self._vg_name)
927 928
    free_size, _, _ = vg_info[0]

Also available in: Unified diff