summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <Badhri@google.com>2015-06-02 14:47:57 -0700
committerElliott Hughes <enh@google.com>2015-06-04 13:26:29 -0700
commit71aebefe49d8126f522287bd35d17c432a4e6383 (patch)
tree62d17ad6061b67794b02c0e32a0c76798d8f2b56 /fastboot
parent67ab5d95058d6fe1bab71b3f69e1934728902995 (diff)
downloadsystem_core-71aebefe49d8126f522287bd35d17c432a4e6383.zip
system_core-71aebefe49d8126f522287bd35d17c432a4e6383.tar.gz
system_core-71aebefe49d8126f522287bd35d17c432a4e6383.tar.bz2
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: http://b/21558406 Bug: 21561449 Change-Id: I7083f3c7e5d745bd6e8a190ac9020297d638d9d4 (cherry picked from commit a68d0d1fe48afc7a7a7fd0ee42df1607f21fa996)
Diffstat (limited to 'fastboot')
0 files changed, 0 insertions, 0 deletions