fs: change d_hash for rcu-walk
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / gfs2 / dentry.c
index 6798755..50497f6 100644 (file)
@@ -100,13 +100,14 @@ fail:
        return 0;
 }
 
-static int gfs2_dhash(struct dentry *dentry, struct qstr *str)
+static int gfs2_dhash(const struct dentry *dentry, const struct inode *inode,
+               struct qstr *str)
 {
        str->hash = gfs2_disk_hash(str->name, str->len);
        return 0;
 }
 
-static int gfs2_dentry_delete(struct dentry *dentry)
+static int gfs2_dentry_delete(const struct dentry *dentry)
 {
        struct gfs2_inode *ginode;