xfs: create a predicate to determine if two xfs_names are the same
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:30:49 +0000 (12:30 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:30:49 +0000 (12:30 -0800)
commitd9c0775897147bab54410611ac2659a7477c770c
treec9ab9b2fef7766348f1d75facabe050b011da038
parente99bfc9e687e208d4ba7e85167b8753e80cf4169
xfs: create a predicate to determine if two xfs_names are the same

Create a simple predicate to determine if two xfs_names are the same
objects or have the exact same name.  The comparison is always case
sensitive.

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