]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/proc/proc_sysctl.c
vfs: make the string hashes salt the hash
[mirror_ubuntu-artful-kernel.git] / fs / proc / proc_sysctl.c
index 5e57c3e46e1da6d2338cdce05ec0044d5b158797..b59db94d2ff452b8eb3124fbc5785457d7e6d947 100644 (file)
@@ -623,7 +623,7 @@ static bool proc_sys_fill_cache(struct file *file,
 
        qname.name = table->procname;
        qname.len  = strlen(table->procname);
-       qname.hash = full_name_hash(qname.name, qname.len);
+       qname.hash = full_name_hash(dir, qname.name, qname.len);
 
        child = d_lookup(dir, &qname);
        if (!child) {