diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-04-22 20:52:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-04-22 20:52:25 -0400 |
commit | e84a26ce178345498a7eca0590852bcc36f1092f (patch) | |
tree | dcd2f95c9f73ffb8d2020fe89bb1c30785e0fa78 /fs/ext4/ialloc.c | |
parent | 38d726d153cfe5efe5fe22d28d36ab382dda3a5c (diff) | |
download | linux-3.10-e84a26ce178345498a7eca0590852bcc36f1092f.tar.gz linux-3.10-e84a26ce178345498a7eca0590852bcc36f1092f.tar.bz2 linux-3.10-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