d_inode(9)
π d_inode(9) β actual inode, coming right up β¨
okay so this page lives in the Kernel API Manual, and it's about one tiny helper that's lowkey iconic π«Ά
πΈ NAME πΈ
d_inode β get the actual inode of this dentry π
β¨ SYNOPSIS β¨
struct inode * d_inode (const struct dentry *dentry );
π ARGUMENTS π
dentryβ the dentry you're querying, bestie π
π¦ DESCRIPTION π¦
This is the helper that normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them. That's the whole vibe: your fs, your dentries, your inodes, no extra layers invited to the group chat π
π₯ SEE ALSO π₯
Kernel file ./include/linux/dcache.h has the friend group:
dget_dlock(9)dget(9)d_unhashed(9)d_really_is_negative(9)d_really_is_positive(9)d_inode_rcu(9)d_backing_inode(9)d_real(9)d_real_inode(9)
and that's the page, periodt πβ¨ source/version vibes: Kernel file ./include/linux, dated October 2026 ππ«Ά
π¦ 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