Wrapfs: use new full_name_hash() prototype
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 28 Dec 2016 00:49:24 +0000 (19:49 -0500)
committerRohit Kumar <rokkumar@cs.stonybrook.edu>
Fri, 12 Oct 2018 16:28:48 +0000 (12:28 -0400)
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;