d_real(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 (data or metadata) πŸ’…

πŸ¦‹ 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:


mwah πŸ’‹ this page is from ./include/linux, dated October 2026, and it's d_real(9) β€” iconic, fr fr πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from