Revision 2c42c5df lib/objects.py

b/lib/objects.py
497 497
    actual algorithms from bdev.
498 498

  
499 499
    """
500
    if self.dev_type == constants.LD_LV:
500
    if self.dev_type == constants.LD_LV or self.dev_type == constants.LD_FILE:
501 501
      self.size += amount
502 502
    elif self.dev_type == constants.LD_DRBD8:
503 503
      if self.children:

Also available in: Unified diff