ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
authorTheodore Ts'o <tytso@mit.edu>
Thu, 14 Jun 2018 03:08:26 +0000 (23:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 14 Jun 2018 03:08:26 +0000 (23:08 -0400)
commit77260807d1170a8cf35dbb06e07461a655f67eee
treeb2390b2107ca0fead0013c5545c9d448d1a99103
parent819b23f1c501b17b9694325471789e6b5cc2d0d2
ext4: make sure bitmaps and the inode table don't overlap with bg descriptors

It's really bad when the allocation bitmaps and the inode table
overlap with the block group descriptors, since it causes random
corruption of the bg descriptors.  So we really want to head those off
at the pass.

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

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