VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2016-06-10 07:51:30 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2016-06-10 20:21:46 -0700 commit: 8387ff2577eb9ed245df9a39947f66976c6bcd02 parent: 147d9e7bcad3b8d5465f6eea6292731e7f35dee8
Commit Summary:
vfs: make the string hashes salt the hash
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/hfs/string.c b/fs/hfs/string.c
index 85b610c3909f..ec9f164c35a5 100644
--- a/fs/hfs/string.c
+++ b/fs/hfs/string.c
@@ -59,7 +59,7 @@ int hfs_hash_dentry(const struct dentry *dentry, struct qstr *this)
 	if (len > HFS_NAMELEN)
 		len = HFS_NAMELEN;
 
-	hash = init_name_hash();
+	hash = init_name_hash(dentry);
 	for (; len; len--)
 		hash = partial_name_hash(caseorder[*name++], hash);
 	this->hash = end_name_hash(hash);