]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/fuse/dev.c
vfs: make the string hashes salt the hash
[mirror_ubuntu-artful-kernel.git] / fs / fuse / dev.c
index cbece1221417bb0ad5c60a143c724e6b3a5b06e8..203adf3b75dba448c074e596b81c9966a75f51d4 100644 (file)
@@ -1525,7 +1525,6 @@ static int fuse_notify_inval_entry(struct fuse_conn *fc, unsigned int size,
                goto err;
        fuse_copy_finish(cs);
        buf[outarg.namelen] = 0;
-       name.hash = full_name_hash(name.name, name.len);
 
        down_read(&fc->killsb);
        err = -ENOENT;
@@ -1576,7 +1575,6 @@ static int fuse_notify_delete(struct fuse_conn *fc, unsigned int size,
                goto err;
        fuse_copy_finish(cs);
        buf[outarg.namelen] = 0;
-       name.hash = full_name_hash(name.name, name.len);
 
        down_read(&fc->killsb);
        err = -ENOENT;