Name

d_real — Return the real dentry

Synopsis

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

Arguments

struct dentry * dentry

the dentry to query

const struct inode * inode

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

unsigned int flags

open flags to control copy-up behavior

Description

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

See also: Documentation/filesystems/vfs.txt