Whamcloud - gitweb
LU-10565 osd: unify interface for vfs
[fs/lustre-release.git] / lustre / obdclass / lprocfs_status_server.c
index bbd81a9..b4d0dd6 100644 (file)
@@ -57,7 +57,8 @@ struct dentry *ldebugfs_add_symlink(const char *name, const char *target,
 
        dname.name = target;
        dname.len = strlen(dname.name);
-       dname.hash = ll_full_name_hash(parent, dname.name, dname.len);
+       dname.hash = ll_full_name_hash(debugfs_lustre_root,
+                                      dname.name, dname.len);
        parent = d_lookup(debugfs_lustre_root, &dname);
        if (!parent)
                return NULL;