commit | 9154748cc5398d5606765d67409c3cfcdb8b7ad6 | [log] [tgz] |
---|---|---|
author | caozhiyuan <cao.zhiyuan@zte.com.cn> | Tue May 19 17:21:00 2015 +0800 |
committer | The Android Automerger <android-build@google.com> | Fri Jun 26 13:54:17 2015 -0700 |
tree | 52a68ca0172b97d75a6fbf248ffac01e83402330 | |
parent | afc7a78349160743b206ed89aed401c3d2d45761 [diff] |
Use f_bavail to calculate free space Failures are seen on devices with Linux 3.10. And they are mainly due to this change: https://lwn.net/Articles/546473/ The blocks reserved in this change is not the same thing as what we think are reserved for common usage of root user. And this part is included in free blocks but not in available blocks. Bug: 22118089 Change-Id: I81c9531703298019a4fc11839f28d2cc8b9df34e (cherry picked from commit 3b4977638f48e59d23d7ea2bb6dde78552c257fb)