---
name: "d_add_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_add_unique"
---

# d\_add\_unique(9)

add dentry to hash queues without aliasing

## NAME

d\_add\_unique - add dentry to hash queues without aliasing

## SYNOPSIS

**struct dentry \* d\_add\_unique(struct dentry \*** *entry***, struct inode \*** *inode***);**

## ARGUMENTS

*entry*

dentry to add

*inode*

The inode to attach to this dentry

## DESCRIPTION

This adds the entry to the hash queues and initializes *inode*. The entry was actually filled in earlier during **d\_alloc**.

## COPYRIGHT
