d_real(9)

d_real9

Return the real dentry

Usage

struct dentry * d_real(struct dentry * dentry, const struct inode * inode, unsigned int flags);

Arguments

dentry

the dentry to query

inode

inode to select the dentry from multiple layers (can be NULL)

flags

open flags to control copy-up behavior

Overview

If dentry is on an union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself.

See also: Documentation/filesystems/vfs.txt

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