]> 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)
commit21d0e8a438b088d7acb7edd2b71bc744f0fbeac1
treecf7f415a16b6ba6347a332d26bb2e0934d7dc14d
parenta25fb28212992ffb00b957321f843e1d05e15628
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: f4c31f83539a49fc14b96feb4978458d04b38565
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/super.c