1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>d_really_is_positive</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="the_directory_cache.html" title="The Directory Cache"><link rel="prev" href="API-d-really-is-negative.html" title="d_really_is_negative"><link rel="next" href="API-d-inode.html" title="d_inode"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">d_really_is_positive</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-d-really-is-negative.html">Prev</a> </td><th width="60%" align="center">The Directory Cache</th><td width="20%" align="right"> <a accesskey="n" href="API-d-inode.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-d-really-is-positive"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>d_really_is_positive — 2 Determine if a dentry is really positive (ignoring fallthroughs) 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">bool <b class="fsfunc">d_really_is_positive </b>(</code></td><td>const struct dentry * <var class="pdparam">dentry</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1101593196"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>dentry</code></em></span></dt><dd><p> 4 The dentry in question 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1101594724"></a><h2>Description</h2><p> 6 Returns true if the dentry represents a name that maps to an inode 7 (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if 8 that is represented on medium as a 0,0 chardev. 9 </p><p> 10 11 Note! (1) This should be used *only* by a filesystem to examine its own 12 dentries. It should not be used to look at some other filesystem's 13 dentries. (2) It should also be used in combination with <code class="function">d_inode</code> to get 14 the inode. 15</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-d-really-is-negative.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="the_directory_cache.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-d-inode.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">d_really_is_negative</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">d_inode</span></td></tr></table></div></body></html> 16