D_INSTANTIATE_UNIQUE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

d_instantiate_unique - instantiate a non-aliased dentry  

SYNOPSIS

"SYNOPSIS"

struct dentry * d_instantiate_unique (struct dentry * entry, struct inode * inode);  

ARGUMENTS

entry
dentry to instantiate
inode
inode to attach to this dentry
 

DESCRIPTION

Fill in inode information in the entry. On success, it returns NULL. If an unhashed alias of ``entry'' already exists, then we return the aliased dentry instead.

Note that in order to avoid conflicts with rename etc, the caller had better be holding the parent directory semaphore.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:02 GMT, October 09, 2005