alistair23-linux/fs/fat
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
..
cache.c fat: permit to return phy block number by fibmap in fallocated region 2016-01-20 17:09:18 -08:00
dir.c fat: switch to ->iterate_shared() 2016-05-09 11:41:15 -04:00
fat.h fat: constify fatent_operations structures 2016-01-20 17:09:18 -08:00
fatent.c fat: constify fatent_operations structures 2016-01-20 17:09:18 -08:00
file.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
inode.c direct-io: eliminate the offset argument to ->direct_IO 2016-05-01 19:58:39 -04:00
Kconfig fat: add config option to set UTF-8 mount option by default 2016-03-22 15:36:02 -07:00
Makefile
misc.c fs/fat: remove unnecessary includes 2015-04-17 09:04:06 -04:00
namei_msdos.c vfs: make the string hashes salt the hash 2016-06-10 20:21:46 -07:00
namei_vfat.c vfs: make the string hashes salt the hash 2016-06-10 20:21:46 -07:00
nfs.c