Merge tag 'upstream-4.8-rc1' of git://git.infradead.org/linux-ubifs
[cascardo/linux.git] / fs / jfs / namei.c
index 539dedd..04baf0d 100644 (file)
@@ -1564,7 +1564,7 @@ static int jfs_ci_hash(const struct dentry *dir, struct qstr *this)
        unsigned long hash;
        int i;
 
-       hash = init_name_hash();
+       hash = init_name_hash(dir);
        for (i=0; i < this->len; i++)
                hash = partial_name_hash(tolower(this->name[i]), hash);
        this->hash = end_name_hash(hash);