-
sriramsr authored
When tmpfs is mounted with size = 0 (i.e. without any limit), then statvfs will return 0 for f_bfree, f_bavail, and f_blocks. Catch this case and return max_int64 instead. Also switch to using statfs() instead of statvfs() as f_type is not exposed via latter. BUG=628710 Review-Url: https://codereview.chromium.org/2198283002 Cr-Commit-Position: refs/heads/master@{#409358}
9bbda429