1D_REALLY_IS_NEGATIVE(9) The Linux VFS D_REALLY_IS_NEGATIVE(9)
2
3
4
6 d_really_is_negative - Determine if a dentry is really negative
7 (ignoring fallthroughs)
8
10 bool d_really_is_negative(const struct dentry * dentry);
11
13 dentry
14 The dentry in question
15
17 Returns true if the dentry represents either an absent name or a name
18 that doesn't map to an inode (ie. ->d_inode is NULL). The dentry could
19 represent a true miss, a whiteout that isn't represented by a 0,0
20 chardev or a fallthrough marker in an opaque directory.
21
22 Note! (1) This should be used *only* by a filesystem to examine its own
23 dentries. It should not be used to look at some other filesystem's
24 dentries. (2) It should also be used in combination with d_inode to get
25 the inode. (3) The dentry may have something attached to ->d_lower and
26 the type field of the flags may be set to something other than miss or
27 whiteout.
28
30Kernel Hackers Manual 3.10 June 2019 D_REALLY_IS_NEGATIVE(9)