Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Autres sections - même nom

Section: 9 (Appels noyau Linux)


dget - get a reference to a dentry


struct dentry * dget(struct dentry * dentry);



dentry to get a reference to


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. dget should never be called for dentries with zero reference counter. For these cases (preferably none, functions in dcache.c are sufficient for normal needs and they take necessary precautions) you should hold dcache_lock and call dget_locked instead of dget.

Son pas était étroit, mais sa route était étroite.
-+- Victor Hugo -+-