]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_db: create dirents and xattrs with colliding names
authorDarrick J. Wong <djwong@kernel.org>
Mon, 5 Jun 2023 15:37:09 +0000 (08:37 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 22 Jun 2023 12:04:28 +0000 (14:04 +0200)
commitc51c8c857999615a23c27a038099070ab2fab7ea
treec8b9836eee49e9cca39d1d99e8dc7d1b3d60550e
parent2b686ab313478f3714bb5be73b636abd01453131
xfs_db: create dirents and xattrs with colliding names

Create a new debugger command that will create dirent and xattr names
that induce dahash collisions.

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