commit | dafb17e7eb9a15862ed1314dff2b82d29ad23632 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sun Apr 02 23:24:40 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Sun Apr 02 23:33:38 2017 -0600 |
tree | 768124a417e92a6b51f3844967dcc70581d81edc | |
parent | 21a5edcc24cbca1ae3f0855d71737b22ab81ad6d [diff] |
We really want f_frsize and f_bavail. It's confusing, but f_bsize is not the value you're looking for; the real block size is f_frsize. Fix all those bugs. Also, the vast majority of clients are interested in the usable disk space, not including reserved space. Test: builds, boots Bug: 36840579 Change-Id: Ib1470389afd49c14cab62282ec1e978ebb2c4791