dget_dlock
Prev | The Directory Cache | Next

## Name

dget_dlock — get a reference to a dentry

## Synopsis

`struct dentry * dget_dlock (` | struct dentry * dentry`)`;

## Arguments

`dentry`

  dentry to get a reference to

## Description

Given a dentry or `NULL` pointer increment the reference count if appropriate and return the dentry. A dentry will not be destroyed when it has references.

Prev | Up | Next
d_add_unique | Home | d_unhashed