]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/hpfs/dentry.c
vfs: make the string hashes salt the hash
[karo-tx-linux.git] / fs / hpfs / dentry.c
index fa27980f2229216c47c2378ce7431f18bd5a793e..60e6d334d79abbf2323dcd5e55316ffb8d9f5332 100644 (file)
@@ -26,7 +26,7 @@ static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr)
                /*return -ENOENT;*/
        x:
 
-       hash = init_name_hash();
+       hash = init_name_hash(dentry);
        for (i = 0; i < l; i++)
                hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash);
        qstr->hash = end_name_hash(hash);