]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: create a separate hashname function for extended attributes
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:45 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:02 +0000 (17:01 -0700)
commit24d677a15dfc9a0c048c93bfdf74b89bd87616d5
treeef0281df5256733b82ffd367eb10e0d68bb279f2
parentf5e1d0d95bdd56caf98fa204f220c1529d2bdca6
xfs: create a separate hashname function for extended attributes

Source kernel commit: a64e0134754bf88021e937aa34f1fbb5b524e585

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>
libxfs/xfs_attr.c
libxfs/xfs_attr.h
libxfs/xfs_attr_leaf.c