linux-stable/fs/fat
Linus Torvalds 554828ee0d Merge branch 'salted-string-hash'
This changes the vfs dentry hashing to mix in the parent pointer at the
_beginning_ of the hash, rather than at the end.

That actually improves both the hash and the code generation, because we
can move more of the computation to the "static" part of the dcache
setup, and do less at lookup runtime.

It turns out that a lot of other hash users also really wanted to mix in
a base pointer as a 'salt' for the hash, and so the slightly extended
interface ends up working well for other cases too.

Users that want a string hash that is purely about the string pass in a
'salt' pointer of NULL.

* merge branch 'salted-string-hash':
  fs/dcache.c: Save one 32-bit multiply in dcache lookup
  vfs: make the string hashes salt the hash
2016-07-28 12:26:31 -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 fat (exportfs): move NFS support code 2012-10-06 03:05:09 +09:00
misc.c fs: have submit_bh users pass in op and flags separately 2016-06-07 13:41:38 -06: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 VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00