]> git.dujemihanovic.xyz Git - u-boot.git/commit
ext4: Only update number of of unused inodes if GDT_CSUM feature is set
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 6 Sep 2016 02:36:47 +0000 (04:36 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:02:39 +0000 (09:02 -0400)
commit398d6fad921ec0bc82ae98250831216a363c38b6
treee95b1b76b1fd53e07ea3f3a3583da9abad74a768
parentb7dd40d05235871a5e6cae02f38c14dc6487d352
ext4: Only update number of of unused inodes if GDT_CSUM feature is set

e2fsck warns about "Group descriptor 0 marked uninitialized without
feature set."
The bg_itable_unused field is only defined if FEATURE_RO_COMPAT_GDT_CSUM
is set, and should be set (kept) zero otherwise.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
fs/ext4/ext4_common.c