After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711859 - afp backend does not calculate G_FILE_ATTRIBUTE_FILESYSTEM_USED
afp backend does not calculate G_FILE_ATTRIBUTE_FILESYSTEM_USED
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: afp backend
git master
Other Linux
: Normal enhancement
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2013-11-11 18:50 UTC by Ross Lagerwall
Modified: 2013-11-14 06:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
afp: Report number of bytes used on the filesystem (2.76 KB, patch)
2013-11-11 18:56 UTC, Ross Lagerwall
accepted-commit_now Details | Review

Description Ross Lagerwall 2013-11-11 18:50:26 UTC
afp backend does not calculate G_FILE_ATTRIBUTE_FILESYSTEM_USED.

Pretty minor but it should be easy to do it.
Comment 1 Ross Lagerwall 2013-11-11 18:56:33 UTC
Created attachment 259582 [details] [review]
afp: Report number of bytes used on the filesystem

Calculate the number of bytes used by subtracting the size from the
number of bytes free, as done with local files.
Comment 2 Carl-Anton Ingmarsson 2013-11-12 11:25:23 UTC
(In reply to comment #1)
> Created an attachment (id=259582) [details] [review]
> afp: Report number of bytes used on the filesystem
> 
> Calculate the number of bytes used by subtracting the size from the
> number of bytes free, as done with local files.

Looks good, please commit.
Comment 3 Ross Lagerwall 2013-11-14 06:26:47 UTC
Pushed to master as 2965194d8479e83dfa6e2ef0b0302aea2762dae3. Thanks!