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>
Fri, 21 Mar 2014 09:54:44 +0000 (03:54 -0600)
commit1330c6a44b8707d4c6c048b70811046e494b204a
tree23b7029d5bfc6eda51166e2bd77b603eb4ecd1f6
parentff83c6afde3333891b01b6ec79cf80a3e797c788
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