diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-03-29 22:10:35 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-03-29 22:10:35 -0400 |
commit | 18db4b4e6fc31eda838dd1c1296d67dbcb3dc957 (patch) | |
tree | 0a87b79441cdac031e35498a4cef0969c9646fe5 /scripts/headers_check.pl | |
parent | a45403b51582a87872927a3e0fc0a389c26867f1 (diff) | |
download | linux-18db4b4e6fc31eda838dd1c1296d67dbcb3dc957.tar.gz linux-18db4b4e6fc31eda838dd1c1296d67dbcb3dc957.tar.bz2 linux-18db4b4e6fc31eda838dd1c1296d67dbcb3dc957.zip |
ext4: don't allow r/w mounts if metadata blocks overlap the superblock
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
Diffstat (limited to 'scripts/headers_check.pl')
0 files changed, 0 insertions, 0 deletions