]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/fat/namei_msdos.c
vfs: make the string hashes salt the hash
[mirror_ubuntu-bionic-kernel.git] / fs / fat / namei_msdos.c
index b7e2b33aa79356b7762512dbe5940b5fca7de1d7..1337c0c7527d543f5d5585bec256ad56b7c32a4e 100644 (file)
@@ -154,7 +154,7 @@ static int msdos_hash(const struct dentry *dentry, struct qstr *qstr)
 
        error = msdos_format_name(qstr->name, qstr->len, msdos_name, options);
        if (!error)
-               qstr->hash = full_name_hash(msdos_name, MSDOS_NAME);
+               qstr->hash = full_name_hash(dentry, msdos_name, MSDOS_NAME);
        return 0;
 }