commit | efbb5d2e692283be32069e808b88522727c7fe98 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Jun 23 11:16:05 2015 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Jun 23 14:53:28 2015 -0700 |
tree | 48e8f9b2a9c6d5a813346f3ed6f9dc420e18af37 | |
parent | bebd3cfbf934beb18b73a4d4e98b98c2c0a1d6fe [diff] |
Adjust the size computation for reserved blocks Due to the change in https://lwn.net/Articles/546473/, kernel reserves a few extra blocks (lesser of 2% and 4096 blocks) on ext4 FS which leads to OTA update failures. Adjust the size computation if the device has BOARD_HAS_EXT4_RESERVED_BLOCKS := true. Bug: 21522719 Bug: 22023465 Change-Id: I49f16adbf2dedc5279fbb8622bf99ef71dcc494f