summaryrefslogtreecommitdiff
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-04-09 23:37:08 -0400
committerBen Hutchings <ben@decadent.org.uk>2020-06-11 19:05:53 +0100
commit51890201da4d654f6ca131bc45a0e892bb10de1d (patch)
tree18bcbfe09da40210dced818d0d2e2ff379311181 /include/linux/mod_devicetable.h
parentf9c6ffd9190290d3d2502c297e3df4aef3d034c0 (diff)
ext4: protect journal inode's blocks using block_validity
commit 345c0dbf3a30872d9b204db96b5857cd00808cae upstream. 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 [bwh: Backported to 3.16: - Use EXT4_HAS_COMPAT_FEATURE() - Use EIO instead of EFSCORRUPTED] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/mod_devicetable.h')
0 files changed, 0 insertions, 0 deletions