Wrapfs: use new full_name_hash() prototype
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 27 Dec 2016 22:20:57 +0000 (17:20 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 17 Feb 2017 22:06:37 +0000 (17:06 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/lookup.c

index eae79babf5fa33401e8248007e63228d930cd6be..0ff09bb9c77b328276ebf13c80861db438d1da9b 100644 (file)
@@ -258,7 +258,7 @@ static struct dentry *__wrapfs_lookup(struct dentry *dentry,
        /* instatiate a new negative dentry */
        this.name = name;
        this.len = strlen(name);
-       this.hash = full_name_hash(this.name, this.len);
+       this.hash = full_name_hash(lower_dir_dentry, this.name, this.len);
        lower_dentry = d_lookup(lower_dir_dentry, &this);
        if (lower_dentry)
                goto setup_lower;