Scroll to navigation

D_REAL(9) The Linux VFS D_REAL(9)

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

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11