ext4: do not interpret high bytes if 64bit feature is disabled
authorPetr Malat <oss@malat.biz>
Tue, 25 Aug 2020 15:00:16 +0000 (17:00 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Oct 2020 14:36:13 +0000 (10:36 -0400)
commit81e8c3c50352f4eede634a89e018e3b3907c2d44
tree346f0b060b0af852a3f50915ff3f3ab9014268ce
parentb483bb77194b4ec462fb23ad3fd6a6b36a635340
ext4: do not interpret high bytes if 64bit feature is disabled

Fields s_free_blocks_count_hi, s_r_blocks_count_hi and s_blocks_count_hi
are not valid if EXT4_FEATURE_INCOMPAT_64BIT is not enabled and should be
treated as zeroes.

Signed-off-by: Petr Malat <oss@malat.biz>
Link: https://lore.kernel.org/r/20200825150016.3363-1-oss@malat.biz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h