]> git.karo-electronics.de Git - karo-tx-linux.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)
commitf99b25897a86fcfff9140396a97261ae65fed872
tree2191505f190d09ff31896487c73b8187cb475596
parent5e1f8c9e20a92743eefc9a82c2db835213905e26
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