diff options
author | Theodore Ts'o <tytso@mit.edu> | 2019-04-10 05:37:08 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-04-10 05:37:08 +0200 |
commit | 345c0dbf3a30872d9b204db96b5857cd00808cae (patch) | |
tree | a24a40bc40343396f6a776d87b5d58d83617d476 /fs/ext4/xattr.c | |
parent | ext4: use BUG() instead of BUG_ON(1) (diff) | |
download | linux-345c0dbf3a30872d9b204db96b5857cd00808cae.tar.xz linux-345c0dbf3a30872d9b204db96b5857cd00808cae.zip |
ext4: protect journal inode's blocks using block_validity
Add the blocks which belong to the journal inode to block_validity's
system zone so attempts to deallocate or overwrite the journal due a
corrupted file system where the journal blocks are also claimed by
another inode.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202879
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4/xattr.c')
0 files changed, 0 insertions, 0 deletions