kernel-ark/fs/hpfs
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
..
alloc.c
anode.c
buffer.c
dentry.c vfs: make the string hashes salt the hash 2016-06-10 20:21:46 -07:00
dir.c hpfs: switch to ->iterate_shared() 2016-05-12 19:47:13 -04:00
dnode.c hpfs: handle allocation failures in hpfs_add_pos() 2016-05-12 19:35:57 -04:00
ea.c
file.c
hpfs_fn.h hpfs: handle allocation failures in hpfs_add_pos() 2016-05-12 19:35:57 -04:00
hpfs.h
inode.c don't put symlink bodies in pagecache into highmem 2015-12-08 22:41:36 -05:00
Kconfig
Makefile
map.c hpfs: missing endianness annotation 2016-01-04 10:29:03 -05:00
name.c
namei.c hpfs: don't truncate the file when delete fails 2016-02-27 19:15:51 -05:00
super.c hpfs: implement the show_options method 2016-05-28 16:50:24 -07:00