d_really_is_positive(9)
π NAME π
okay bestie, this is the manual page for d_really_is_positive(9) from the Kernel API Manual, and it's here to tell you if a dentry is really positive β no fallthroughs pretending to be main characters π
β¨ SYNOPSIS β¨
bool d_really_is_positive (const struct dentry *dentry );
π ARGUMENTS π
dentryβ the dentry in question. literally the little guy we're checking π«Ά
π¦ DESCRIPTION π¦
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. no cap, that's the whole vibe check π₯
Note! Two very important things, bestie: 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's dentries. stay in your own lane π
2. It should also be used in combination with d_inode to get the inode. team effort, periodt β¨
πΈ SEE ALSO πΈ
the Kernel file ./include/linux/dcache.h is right there with these iconique references:
dget_dlock(9)dget(9)d_unhashed(9)d_really_is_negative(9)d_inode(9)d_inode_rcu(9)d_backing_inode(9)d_real(9)d_real_inode(9)
this cutie came from ./include/linux, version dated October 2026, and its footer tag is d_really_is_positive(9) β slay and goodbye πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms