SysTutorials

Linux Manual Pages › Section 9

dget_dlock(9)

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.

Copyright