]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb09f81a64fb1615cb7d9c5bc39081f0719e4b4c3
tree346f0b060b0af852a3f50915ff3f3ab9014268ce
parente4a4ca8d7f500075c10e91b41e897f2c82ef0592
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