commit | fa4cb054abfb8fb59b5dd06fb0785fb370748c57 | [log] [tgz] |
---|---|---|
author | Danny Baumann <dannybaumann@web.de> | Fri Jun 08 11:40:34 2018 +0200 |
committer | Danny Baumann <dannybaumann@web.de> | Fri Jun 08 11:51:58 2018 +0200 |
tree | 6fbe80a79837caeb1017aea1142f2e3dc9ccce8b | |
parent | 74a0ea22636b44a2748a8baed44b8883bfbc42db [diff] |
ext4_utils: Fix FS creation for filesystems with exactly 32768 blocks. In that case, total block count matches number of blocks per group, which yields precisely 1 group. last_group_size in that case was calculated as 0, which together with group count 1 incorrectly triggered the file size check. Special case that scenario by assigning last_group_size as 32768 in that case. Change-Id: I3b6e236a4d6951aca732324b85e46b8c4b5757b7