d_real(9)
πΈ NAME πΈ
okay bestie, this is the Kernel API Manual page for d_real, and the name is literally doing the most in the best way: it returns the real dentry π
d_real β Return the real dentry β¨
β¨ SYNOPSIS β¨
struct dentry * d_real (struct dentry *dentry , enum d_real_type type );
π ARGUMENTS π
dentryβ the dentry to query πtypeβ the type of real dentry (dataormetadata) π
π¦ DESCRIPTION π¦
So here's the vibe check: if dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself. no cap, that's the whole glow-up π«Ά periodt.
See also: Documentation/filesystems/vfs.rst π
π₯ SEE ALSO π₯
Kernel file ./include/linux/dcache.h is where the whole squad lives:
dget_dlock(9)dget(9)d_unhashed(9)d_really_is_negative(9)d_really_is_positive(9)d_inode(9)d_inode_rcu(9)d_backing_inode(9)d_real_inode(9)
mwah π this page is from ./include/linux, dated October 2026, and it's d_real(9) β iconic, fr fr ππ
π¦ 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