]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/jffs2/readinode.c
vfs: make the string hashes salt the hash
[mirror_ubuntu-artful-kernel.git] / fs / jffs2 / readinode.c
index bfebbf13698c0e0d255e20f5ebf26de7fd6b5845..06a71dbd4833e3bdf4ea5277bc50e15ee40c45ad 100644 (file)
@@ -674,7 +674,7 @@ static inline int read_direntry(struct jffs2_sb_info *c, struct jffs2_raw_node_r
                }
        }
 
-       fd->nhash = full_name_hash(fd->name, rd->nsize);
+       fd->nhash = full_name_hash(NULL, fd->name, rd->nsize);
        fd->next = NULL;
        fd->name[rd->nsize] = '\0';