D12125: Avoid inserting an invalid "Size" property from the Filesystem interface

Stefan BrĂ¼ns noreply at phabricator.kde.org
Wed Apr 11 22:39:29 UTC 2018


bruns created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
bruns requested review of this revision.

REVISION SUMMARY
  UDisks2 added a "Size" property for the Filesystem interface, which may
  be zero, denoting an unknown value:
  http://storaged.org/doc/udisks2-api/2.7.6/gdbus-org.freedesktop.UDisks2.Filesystem.html
  #gdbus-property-org-freedesktop-UDisks2-Filesystem.Size
  
  For e.g. Ext4, the property matches the Size from Partition and Block,
  while for FAT and BTRFS 0 is returned.

TEST PLAN
  make
  solid-hardware5 list details

REPOSITORY
  R245 Solid

BRANCH
  invalid_fs_size

REVISION DETAIL
  https://phabricator.kde.org/D12125

AFFECTED FILES
  src/solid/devices/backends/udisks2/udisksdevicebackend.cpp

To: bruns
Cc: #frameworks, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180411/e902ade1/attachment.html>


More information about the Kde-frameworks-devel mailing list