]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Add support for non-native signed/unsigned htree hash algorithms
authorTheodore Ts'o <tytso@mit.edu>
Tue, 28 Oct 2008 17:21:44 +0000 (13:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 28 Oct 2008 17:21:44 +0000 (13:21 -0400)
commit3db5f70724bb9813e666886e837f39eff521f97f
tree2191505f190d09ff31896487c73b8187cb475596
parent1840b8a210db30ed7e84e6a135be136148e76a41
ext4: Add support for non-native signed/unsigned htree hash algorithms

The original ext3 hash algorithms assumed that variables of type char
were signed, as God and K&R intended.  Unfortunately, this assumption
is not true on some architectures.  Userspace support for marking
filesystems with non-native signed/unsigned chars was added two years
ago, but the kernel-side support was never added (until now).

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ext4_sb.h
fs/ext4/hash.c
fs/ext4/namei.c
fs/ext4/super.c