summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ialloc.c
diff options
context:
space:
mode:
authorTheodore Ts'o2009-04-23 02:52:25 +0200
committerTheodore Ts'o2009-04-23 02:52:25 +0200
commite84a26ce178345498a7eca0590852bcc36f1092f (patch)
treedcd2f95c9f73ffb8d2020fe89bb1c30785e0fa78 /fs/ext4/ialloc.c
parentjbd: use SWRITE_SYNC_PLUG when writing synchronous revoke records (diff)
downloadkernel-qcow2-linux-e84a26ce178345498a7eca0590852bcc36f1092f.tar.gz
kernel-qcow2-linux-e84a26ce178345498a7eca0590852bcc36f1092f.tar.xz
kernel-qcow2-linux-e84a26ce178345498a7eca0590852bcc36f1092f.zip
ext4: Make the extent validity check more paranoid
Instead of just checking that the extent block number is greater or equal than s_first_data_block, make sure it it is not pointing into the block group descriptors, since that is clearly wrong. This helps prevent filesystem from getting very badly corrupted in case an extent block is corrupted. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ialloc.c')
0 files changed, 0 insertions, 0 deletions