]> git.kernelconcepts.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, 17 Feb 2009 15:32:19 +0000 (10:32 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Feb 2009 22:40:22 +0000 (14:40 -0800)
commit69db706481e3d100c6def5bf15b251f2a6ef03ab
tree09f396dab406f0a2b810ba91a4f94647d94d066d
parentda086a5ea6039cedb0194f42c9de1791bb22784c
ext4: Add support for non-native signed/unsigned htree hash algorithms

(cherry picked from commit f99b25897a86fcfff9140396a97261ae65fed872)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/ext4.h
fs/ext4/ext4_sb.h
fs/ext4/hash.c
fs/ext4/namei.c
fs/ext4/super.c