]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: hoist name obfuscation code out of metadump.c
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Jun 2023 16:12:06 +0000 (09:12 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 22 Jun 2023 12:04:11 +0000 (14:04 +0200)
commit2b686ab313478f3714bb5be73b636abd01453131
tree2aa95d95ba43392dc095a7aeb6ab3b4b5044c78e
parent6a5285ec1763e0ee0e04d8c135ac995d96fbe34e
xfs_db: hoist name obfuscation code out of metadump.c

We want to create a debugger command that will create obfuscated names
for directory and xattr names, so hoist the name obfuscation code into a
separate file.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
db/Makefile
db/metadump.c
db/obfuscate.c [new file with mode: 0644]
db/obfuscate.h [new file with mode: 0644]