alistair23-linux/fs/hfs
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
..
attr.c switch ->setxattr() to passing dentry and inode separately 2016-05-27 20:09:16 -04:00
bfind.c
bitmap.c
bnode.c mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros 2016-04-04 10:41:08 -07:00
brec.c hfs: fix B-tree corruption after insertion at position 0 2015-09-10 13:29:01 -07:00
btree.c mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros 2016-04-04 10:41:08 -07:00
btree.h
catalog.c hfs: switch to ->iterate_shared() 2016-05-12 20:13:50 -04:00
dir.c hfs: switch to ->iterate_shared() 2016-05-12 20:13:50 -04:00
extent.c
hfs.h
hfs_fs.h switch ->setxattr() to passing dentry and inode separately 2016-05-27 20:09:16 -04:00
inode.c Merge branch 'work.preadv2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-05-17 15:05:23 -07:00
Kconfig
Makefile
mdb.c HFS wants 8Kb per-superblock allocation; just use kmalloc() 2016-01-04 10:29:34 -05:00
part_tbl.c
string.c vfs: make the string hashes salt the hash 2016-06-10 20:21:46 -07:00
super.c kmemcg: account certain kmem allocations to memcg 2016-01-14 16:00:49 -08:00
sysdep.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
trans.c