Whamcloud - gitweb
e2fsck: workaround for old extents tests
authorAndreas Dilger <andreas.dilger@intel.com>
Thu, 12 Apr 2012 22:15:07 +0000 (16:15 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Wed, 23 Jul 2014 16:49:32 +0000 (10:49 -0600)
commit5d795ce67ff7f3779f947eacbd7d40d6934525ab
tree0adbb841b2eb95bca1895ce252a1c0e473d00444
parent7368a11dac7670d9b217389b20aed57dd3144753
e2fsck: workaround for old extents tests

The e2fsck_ext2fs_extent_get() part of this patch is a workaround
to handle problems with old Lustre extents patches that didn't
clear the ee_start_hi or ei_leaf_hi fields.

That has been fixed for long time and could be removed as soon
as the f_extent_* tests are fixed to clear these _hi fields.
Otherwise the extents are all marked as corrupt and it ruins those
tests value.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
e2fsck/pass1.c
tests/f_extents/expect.1
tests/f_extents/expect.2
tests/f_extents/image.gz