diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-17 11:18:13 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-17 11:18:13 -0700 |
commit | 0111d0f13469831266d716e3b50d580a3e25cff9 (patch) | |
tree | e2c082e97808f1303190fae3bb79cb8bf359bf2c /fs/dcache.c | |
parent | 29a6185d2f78e35b0b36d0ed94bc27d2b71e1ef3 (diff) | |
parent | af92ba8fd23cb5811d96b833bbb7133efefeb5b9 (diff) |
Merge tag 'v3.14.19' into linux-linaro-lsk-v3.14lsk-v3.14-14.09
This is the 3.14.19 stable release
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 7f3b4004c6c3..58d57da91d2a 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -106,8 +106,7 @@ static inline struct hlist_bl_head *d_hash(const struct dentry *parent, unsigned int hash) { hash += (unsigned long) parent / L1_CACHE_BYTES; - hash = hash + (hash >> d_hash_shift); - return dentry_hashtable + (hash & d_hash_mask); + return dentry_hashtable + hash_32(hash, d_hash_shift); } /* Statistics gathering. */ |