xfs: create a separate hashname function for extended attributes
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:47:38 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:55 +0000 (07:46 -0700)
commita64e0134754bf88021e937aa34f1fbb5b524e585
tree24eb75fdca440e121af9a2b3d151c15e7c7f332a
parent9713dc88773d066413ae23aa474b13241507a89e
xfs: create a separate hashname function for extended attributes

Create a separate function to compute name hashvalues for extended
attributes.  When we get to parent pointers we'll be altering the rules
so that metadump obfuscation doesn't turn heinous.

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