'\" t .\" Title: d_really_is_positive .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "D_REALLY_IS_POSITIVE" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "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_really_is_positive \- Determine if a dentry is really positive (ignoring fallthroughs) .SH "SYNOPSIS" .HP \w'bool\ d_really_is_positive('u .BI "bool d_really_is_positive(const\ struct\ dentry\ *\ " "dentry" ");" .SH "ARGUMENTS" .PP \fIconst struct dentry * dentry\fR .RS 4 The dentry in question .RE .SH "DESCRIPTION" .PP Returns true if the dentry represents a name that maps to an inode (ie\&. \->d_inode is not NULL)\&. The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev\&. .PP Note! (1) This should be used *only* by a filesystem to examine its own dentries\&. It should not be used to look at some other filesystem\*(Aqs dentries\&. (2) It should also be used in combination with \fBd_inode\fR to get the inode\&. .SH "COPYRIGHT" .br