]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix fencepost in s_first_meta_bg validation
authorTheodore Ts'o <tytso@mit.edu>
Wed, 15 Feb 2017 06:26:39 +0000 (01:26 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 15 Feb 2017 06:26:39 +0000 (01:26 -0500)
commita7e7a87ec561a6271524af1a938da5b1c68c7d74
treecf7f415a16b6ba6347a332d26bb2e0934d7dc14d
parent4f0a6e502f775de958f98a262a7af189cc1f5869
ext4: fix fencepost in s_first_meta_bg validation

It is OK for s_first_meta_bg to be equal to the number of block group
descriptor blocks.  (It rarely happens, but it shouldn't cause any
problems.)

https://bugzilla.kernel.org/show_bug.cgi?id=194567

Fixes: a56edc3efe7a1cff9109ba7482ac396d470a8459
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/super.c