vfs: make the string hashes salt the hash
[deliverable/linux.git] / fs / cifs / dir.c
index c3eb998a99bd18a2ed9b7b843c99be15fedab9df..916b2d7d3a9b23688a8e4e15fda0b03b5cd5100d 100644 (file)
@@ -856,7 +856,7 @@ static int cifs_ci_hash(const struct dentry *dentry, struct qstr *q)
        wchar_t c;
        int i, charlen;
 
-       hash = init_name_hash();
+       hash = init_name_hash(dentry);
        for (i = 0; i < q->len; i += charlen) {
                charlen = codepage->char2uni(&q->name[i], q->len - i, &c);
                /* error out if we can't convert the character */
This page took 0.028799 seconds and 5 git commands to generate.