/* If the parent is not specified, we create it in the root. * We need the root dentry to do this, which is in the super @@ -161,6 +208,7 @@ static int debugfs_create_by_name(const char *name, mode_t mode, */ if (!parent) parent = debugfs_mount->mnt_sb->s_root;+ name = create_parents(name, parent, &parent, &ref);