table of contents
other versions
DGET_DLOCK(9) | The Linux VFS | DGET_DLOCK(9) |
NAME¶
dget_dlock - get a reference to a dentry
SYNOPSIS¶
struct dentry * dget_dlock(struct dentry * dentry);
ARGUMENTS¶
struct dentry * 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.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |