This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
e2fsprogs
mirror of
https://github.com/vitalif/e2fsprogs
Watch
1
Star
0
Fork
You've already forked e2fsprogs
0
Code
Issues
Releases
Wiki
Activity
98224fbc1d
e2fsprogs
/
tests
/
f_h_normal
/
name
2 lines
32 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-12 06:32:35 +03:00
Normal (signed) HTREE directory