d_exact_alias(9)

d_exact_alias9

Find and hash an exact unhashed alias

Usage

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

Arguments

entry

dentry to add

inode

The inode to go with this dentry

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.