xfs: create a static name for the dot entry too
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:30:48 +0000 (12:30 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:30:48 +0000 (12:30 -0800)
commite99bfc9e687e208d4ba7e85167b8753e80cf4169
tree056bad45becdfe2c355b70cf780cd2c723595e5a
parent82334a79c6eb1c18b4b38285cf2693bbc5db3933
xfs: create a static name for the dot entry too

Create an xfs_name_dot object so that upcoming scrub code can compare
against that.  Offline repair already has such an object, so we're
really just hoisting it to the kernel.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_dir2.c
fs/xfs/libxfs/xfs_dir2.h