summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <Badhri@google.com>2015-06-02 14:47:57 -0700
committerBadhri Jagan Sridharan <Badhri@google.com>2015-06-03 11:02:26 -0700
commita68d0d1fe48afc7a7a7fd0ee42df1607f21fa996 (patch)
tree89ad43fb04790999180fe817c25e50958a001a92 /trusty/coverage/coverage.cpp
parentf26eb51c2a85181d7093785760d2c90d6e9d4eeb (diff)
libziparchive: fix fallocate failures
The objective of fallocate call seems to be to make sure that we have enough enough space left in the disk to house the uncompressed file. But, fallocate is only supported in the following file systems: btrfs, ext4, ocfs2, and xfs Return error only when fallocate fails due to lack of space. The immediate ftruncate call is going to take of the majority of other errors. Bug: 21561449 Change-Id: I7083f3c7e5d745bd6e8a190ac9020297d638d9d4
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions