]> git.dujemihanovic.xyz Git - u-boot.git/commit
ext4: Use helper function to access group descriptor and its fields
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 17 Sep 2016 00:10:10 +0000 (02:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:20:15 +0000 (09:20 -0400)
commit688d0e79f657ed0b60e5b721bd00540021e1e518
treea4e14ccf4c7c89cc2641b079fa98af6119f2cd16
parentf798b1dda1c5de818b806189e523d1b75db7e72d
ext4: Use helper function to access group descriptor and its fields

The descriptor size is variable, thus array indices are not generically
applicable. The larger group descriptors also contain e.g. high parts
of block numbers, which have to be read and written.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
fs/ext4/ext4_common.c
fs/ext4/ext4_write.c
include/ext4fs.h