vfs: make the string hashes salt the hash
[linux-2.6-block.git] / fs / ntfs / namei.c
index 443abecf01b7d45cfb19be0ee63032b156ae718b..358258364616cd3c2fee997daca2a192719cb045 100644 (file)
@@ -253,7 +253,7 @@ handle_name:
                err = (signed)nls_name.len;
                goto err_out;
        }
-       nls_name.hash = full_name_hash(nls_name.name, nls_name.len);
+       nls_name.hash = full_name_hash(dent, nls_name.name, nls_name.len);
 
        dent = d_add_ci(dent, dent_inode, &nls_name);
        kfree(nls_name.name);