]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_db: make the hash command print the dirent hash
authorDarrick J. Wong <djwong@kernel.org>
Mon, 5 Jun 2023 15:37:15 +0000 (08:37 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 22 Jun 2023 12:04:28 +0000 (14:04 +0200)
commit47560612f1213c2159bb4bbe4244df4ffef4d1e0
tree83ea5be6e32798c306a25ce08a9fe5ddd864f1e8
parentc51c8c857999615a23c27a038099070ab2fab7ea
xfs_db: make the hash command print the dirent hash

It turns out that the da and dir2 hashname functions are /not/ the same,
at least not on ascii-ci filesystems.  Enhance this debugger command to
support printing the dir2 hashname.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
db/hash.c
man/man8/xfs_db.8