linux_dsm_epyc7002/fs/adfs
Linus Torvalds 8387ff2577 vfs: make the string hashes salt the hash
We always mixed in the parent pointer into the dentry name hash, but we
did it late at lookup time.  It turns out that we can simplify that
lookup-time action by salting the hash with the parent pointer early
instead of late.

A few other users of our string hashes also wanted to mix in their own
pointers into the hash, and those are updated to use the same mechanism.

Hash users that don't have any particular initial salt can just use the
NULL pointer as a no-salt.

Cc: Vegard Nossum <vegard.nossum@oracle.com>
Cc: George Spelvin <linux@sciencehorizons.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-06-10 20:21:46 -07:00
..
adfs.h fs/adfs/adfs.h: tidy up comments 2016-01-20 17:09:18 -08:00
dir_f.c adfs: constify adfs_dir_ops structures 2015-12-06 21:17:16 -05:00
dir_f.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dir_fplus.c adfs: constify adfs_dir_ops structures 2015-12-06 21:17:16 -05:00
dir_fplus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dir.c vfs: make the string hashes salt the hash 2016-06-10 20:21:46 -07:00
file.c make new_sync_{read,write}() static 2015-04-11 22:29:40 -04:00
inode.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
Kconfig fs/adfs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
map.c Fix common misspellings 2011-03-31 11:26:23 -03:00
super.c kmemcg: account certain kmem allocations to memcg 2016-01-14 16:00:49 -08:00