ext4: Make the extent validity check more paranoid
authorTheodore Ts'o <tytso@mit.edu>
Thu, 23 Apr 2009 00:52:25 +0000 (20:52 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 23 Apr 2009 00:52:25 +0000 (20:52 -0400)
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>
fs/ext4/extents.c

Simple merge