e2fsprogs/tests/f_dup_de
Theodore Ts'o f77704e416 Add directory hashed signed/unsigned hint to superblock
The e2fsprogs and kernel implementation of directory hash tree has a
bug which causes the implementation to be dependent on whether
characters are signed or unsigned.  Platforms such as the PowerPC,
Arm, and S/390 have signed characters by default, which means that
hash directories on those systems are incompatible with hash
directories on other systems, such as the x86.

To fix this we add a new flags field to the superblock, and define two
new bits in that field to indicate whether or not the directory should
be signed or unsigned.  If the bits are not set, e2fsck and fixed
kernels will set them to the signed/unsigned value of the currently
running platform, and then respect those bits when calculating the
directory hash.  This allows compatibility with current filesystems,
as well as allowing cross-architectural compatibility.

Addresses Debian Bug: #389772

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-11 22:32:35 -05:00
..
expect-nohtree.1 Fix tests so that they work even with --disable-htree. 2003-08-01 13:25:26 -04:00
expect-nohtree.2 Fix tests so that they work even with --disable-htree. 2003-08-01 13:25:26 -04:00
expect.1 f_dup_de: Added test case provided from Debian bug report #176814 2003-03-15 04:04:11 -05:00
expect.2 f_dup_de: Added test case provided from Debian bug report #176814 2003-03-15 04:04:11 -05:00
image.gz Add directory hashed signed/unsigned hint to superblock 2006-11-11 22:32:35 -05:00
name f_dup_de: Added test case provided from Debian bug report #176814 2003-03-15 04:04:11 -05:00
script Remove support for --enable-clear-htree; this was 2005-02-05 10:28:15 -05:00