[PATCH 4.17 32/56] ext4: only look at the bg_flags field if it is valid