]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: fix metadump name obfuscation for ascii-ci filesystems
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Jun 2023 16:11:04 +0000 (09:11 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 22 Jun 2023 12:02:02 +0000 (14:02 +0200)
commit10a01bcdd748773c185255516a72e75a71295bd4
tree00dbd5038c4828cef66bb0b03397bc043ea61907
parentcb8c70b017e30d4004373300bce488a9687166ac
xfs_db: fix metadump name obfuscation for ascii-ci filesystems

Now that we've stabilized the dirent hash function for ascii-ci
filesystems, adapt the metadump name obfuscation code to detect when
it's obfuscating a directory entry name on an ascii-ci filesystem and
spit out names that actually have the same hash.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
db/metadump.c