1D_REALLY_IS_POSITIVE(9) The Linux VFS D_REALLY_IS_POSITIVE(9)
2
3
4
6 d_really_is_positive - Determine if a dentry is really positive
7 (ignoring fallthroughs)
8
10 bool d_really_is_positive(const struct dentry * dentry);
11
13 dentry
14 The dentry in question
15
17 Returns true if the dentry represents a name that maps to an inode (ie.
18 ->d_inode is not NULL). The dentry might still represent a whiteout if
19 that is represented on medium as a 0,0 chardev.
20
21 Note! (1) This should be used *only* by a filesystem to examine its own
22 dentries. It should not be used to look at some other filesystem's
23 dentries. (2) It should also be used in combination with d_inode to get
24 the inode.
25
27Kernel Hackers Manual 3.10 June 2019 D_REALLY_IS_POSITIVE(9)