ext4: Use correct descriptor size when reading the block group descriptor
This is an adoption of the U-Boot commit
| commit f798b1d
| Author: Stefan Brüns <stefan.bruens@rwth-aachen.de>
| Date: Sat Sep 17 02:10:09 2016 +0200
|
| ext4: Use correct descriptor size when reading the block group descriptor
|
| The correct descriptor size must be used when calculating offsets, and
| also to read the correct amount of data.
|
| Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>