ext4: Add helper functions for block group descriptor field access
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Mon, 19 Sep 2016 23:12:42 +0000 (01:12 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:18:56 +0000 (09:18 -0400)
commit9f5dd8b6e2ff0f1553cc71aaf6cb53adb9c7f5e6
tree35aa054496b2fda74a53911faca169714f60efc6
parentfc214ef90910159f33fbe92a6cb77839a27fa8a6
ext4: Add helper functions for block group descriptor field access

The helper functions encapsulate access of the block group descriptors,
independent of group descriptor size. The helpers also deal with the
endianess of the fields, and with split fields like free_blocks/
free_blocks_high.

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