ext3: Add support for non-native signed/unsigned htree hash algorithms
authorTheodore Ts'o <tytso@mit.edu>
Tue, 28 Oct 2008 17:21:55 +0000 (13:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 28 Oct 2008 17:21:55 +0000 (13:21 -0400)
commit5e1f8c9e20a92743eefc9a82c2db835213905e26
tree0c945d1e31b87d1d8c18381f4ffe99122ddb797b
parent8f72fbdf0d92e6127583cc548bf043c60cd4720f
ext3: 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>
Cc: akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org
fs/ext3/hash.c
fs/ext3/namei.c
fs/ext3/super.c
include/linux/ext3_fs.h
include/linux/ext3_fs_sb.h