d_inode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


and that's the page, periodt πŸ’€βœ¨ source/version vibes: Kernel file ./include/linux, dated October 2026 πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from