Scroll to navigation

D_EXACT_ALIAS(9) The Linux VFS D_EXACT_ALIAS(9)

NAME

d_exact_alias - find and hash an exact unhashed alias

SYNOPSIS

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

ARGUMENTS

entry
dentry to add
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.

COPYRIGHT

May 2018 Kernel Hackers Manual 4.9.