]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: move obfuscate_name assertion to callers
authorDarrick J. Wong <djwong@kernel.org>
Mon, 5 Jun 2023 15:36:38 +0000 (08:36 -0700)
committerCarlos Maiolino <cem@kernel.org>
Wed, 14 Jun 2023 08:35:07 +0000 (10:35 +0200)
commitcb8c70b017e30d4004373300bce488a9687166ac
treefdb457aa0e0d63edd1b674d75fecc2621fabea0c
parent03f97ae49b9cbeae21d14deabfa88c877d1cfeb8
xfs_db: move obfuscate_name assertion to callers

Currently, obfuscate_name asserts that the hash of the new name is the
same as the old name.  To enable bug fixes in the next patch, move this
assertion to the callers.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
db/metadump.c