Fix ext4 block group descriptor sizing
authorBenjamin Lim <jarsp.ctf@gmail.com>
Fri, 29 Mar 2019 11:29:45 +0000 (07:29 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 10 Apr 2019 00:04:06 +0000 (20:04 -0400)
commitfebbc583319b567fe3d83e521cc2ace9be8d1501
treedbcad56d90bc64ab5b245c6e86b91b71de957bff
parente551979790e38469dfc29100e2d2dd64f3bcff38
Fix ext4 block group descriptor sizing

Ext4 allows for arbitrarily sized block group descriptors when 64-bit
addressing is enabled, which was previously not properly supported. This
patch dynamically allocates a chunk of memory of the correct size.

Signed-off-by: Benjamin Lim <jarsp.ctf@gmail.com>
fs/ext4/ext4_common.c