ext4: don't allow r/w mounts if metadata blocks overlap the superblock
[ Upstream commit 18db4b4e ] If some metadata block, such as an allocation bitmap, overlaps the superblock, it's very likely that if the file system is mounted read/write, the results will not be pretty. So disallow r/w mounts for file systems corrupted in this particular way. Signed-off-by:Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org Signed-off-by:
Sasha Levin <alexander.levin@microsoft.com>
parent
ed49ed98
Please register or sign in to comment