Name

d_exact_alias — find and hash an exact unhashed alias

Synopsis

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

Arguments

struct dentry * entry

dentry to add

struct inode * inode

The inode to go with this dentry

Description

If an unhashed dentry with the same name/parent and desired inode already exists, hash and return it. Otherwise, return NULL.

Parent directory should be locked.