1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>d_really_is_negative</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-unhashed.html" title="d_unhashed"><link rel="next" href="API-d-really-is-positive.html" title="d_really_is_positive"></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_negative</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-d-unhashed.html">Prev</a>&#160;</td><th width="60%" align="center">The Directory Cache</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-d-really-is-positive.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-d-really-is-negative"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>d_really_is_negative &#8212; 
2     Determine if a dentry is really negative (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_negative </b>(</code></td><td>const struct dentry * <var class="pdparam">dentry</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp1101584820"></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="idp1101586348"></a><h2>Description</h2><p>
6   Returns true if the dentry represents either an absent name or a name that
7   doesn't map to an inode (ie. -&gt;d_inode is NULL).  The dentry could represent
8   a true miss, a whiteout that isn't represented by a 0,0 chardev or a
9   fallthrough marker in an opaque directory.
10   </p><p>
11
12   Note!  (1) This should be used *only* by a filesystem to examine its own
13   dentries.  It should not be used to look at some other filesystem's
14   dentries.  (2) It should also be used in combination with <code class="function">d_inode</code> to get
15   the inode.  (3) The dentry may have something attached to -&gt;d_lower and the
16   type field of the flags may be set to something other than miss or whiteout.
17</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-unhashed.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="the_directory_cache.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-d-really-is-positive.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">d_unhashed</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">d_really_is_positive</span></td></tr></table></div></body></html>
18