'\" t .\" Title: d_real .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "D_REAL" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" d_real \- Return the real dentry .SH "SYNOPSIS" .HP \w'struct\ dentry\ *\ d_real('u .BI "struct dentry * d_real(struct\ dentry\ *\ " "dentry" ", const\ struct\ inode\ *\ " "inode" ", unsigned\ int\ " "flags" ");" .SH "ARGUMENTS" .PP \fIstruct dentry * dentry\fR .RS 4 the dentry to query .RE .PP \fIconst struct inode * inode\fR .RS 4 inode to select the dentry from multiple layers (can be NULL) .RE .PP \fIunsigned int flags\fR .RS 4 open flags to control copy\-up behavior .RE .SH "DESCRIPTION" .PP If dentry is on a union/overlay, then return the underlying, real dentry\&. Otherwise return the dentry itself\&. .PP See also: Documentation/filesystems/vfs\&.txt .SH "COPYRIGHT" .br