Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Issue 22256004: Compute available disk space in Files.app by statvfs.f_bavail, not f_free (Closed)

Created:
7 years, 4 months ago by kinaba
Modified:
7 years, 4 months ago
Reviewers:
hidehiko
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Compute available disk space in Files.app by statvfs.f_bavail, not .f_bfree. f_bavail is more appropriate because it tells the amount of disk space that is available to a non-privileged user. (Writing to Downloads/ indeed stops working if f_bavail=0.) BUG=268705 TEST=Checked the gear menu value matches with what chrome:drive-internals shows. R=hidehiko@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215815

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
kinaba
7 years, 4 months ago (2013-08-06 03:53:35 UTC) #1
hidehiko
lgtm
7 years, 4 months ago (2013-08-06 04:01:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/22256004/1
7 years, 4 months ago (2013-08-06 04:04:09 UTC) #3
kinaba
7 years, 4 months ago (2013-08-06 06:11:17 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r215815 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698