]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: support encoding when calculating dx hashes
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Sat, 1 Dec 2018 00:39:06 +0000 (19:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 3 Dec 2018 04:58:50 +0000 (23:58 -0500)
commit28b44ef08a6d2a9273d1a279f068d214da64a40c
tree44f508bccd6fbeb1383bb19cbf2035cfe67fd9d0
parentab93e183180730b55ee1803978014fd4e623907b
libext2fs: support encoding when calculating dx hashes

fsck must be aware of the superblock encoding and the casefold directory
setting, such that it is able to correctly calculate the dentry hashes.

[ Changed to use a stack-allocated buffer instead of a calling
  calloc() with a fixed size -- TYT ]

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/Makefile.in
e2fsck/dx_dirinfo.c
e2fsck/e2fsck.h
e2fsck/pass1.c
e2fsck/pass2.c
e2fsck/rehash.c
e2fsck/unix.c
lib/ext2fs/Makefile.in
lib/ext2fs/dirhash.c
lib/ext2fs/ext2fs.h