---
name: "d_materialise_unique"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/d_materialise_unique"
---

# d\_materialise\_unique(9)

introduce an inode into the tree

## NAME

d\_materialise\_unique - introduce an inode into the tree

## SYNOPSIS

**struct dentry \* d\_materialise\_unique(struct dentry \*** *dentry***, struct inode \*** *inode***);**

## ARGUMENTS

*dentry*

candidate dentry

*inode*

inode to bind to the dentry, to which aliases may be attached

## DESCRIPTION

Introduces an dentry into the tree, substituting an extant disconnected root directory alias in its place if there is one. Caller must hold the i\_mutex of the parent directory.

## COPYRIGHT
