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 open_flags, unsigned int flags);

ARGUMENTS

dentry

the dentry to query

inode

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

open_flags

open flags to control copy-up behavior

flags

flags to control what is returned by this function

DESCRIPTION

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

SEE ALSO

Documentation/filesystems/vfs.txt

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10