__gfs2_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __gfs2_lookup(9) β€” like, the kernel API manual, but make it make sense

okay so bestie, welcome to the __gfs2_lookup page πŸŽ€ this is the GFS2 kernel API manual and honestly? she's short and she knows it. the whole vibe is: look up a filename in a directory and return its inode. so simple. so iconic. periodt ✨


✨ SYNOPSIS ✨

struct dentry * __gfs2_lookup (struct inode *dir , struct dentry *dentry
, struct file *file );

not me dropping a whole function signature on you 🫢 three args, one return, all dereferenced like it's nbd. it's giving "trust me bestie, the pointers are fine" energy πŸ’…


🌸 ARGUMENTS 🌸

  • dir β€” the directory inode πŸ—‚οΈ she's the folder, the container, the main character who owns the lookup. the inode of the directory, specifically.
  • dentry β€” the dentry of the new inode πŸ¦‹ that's the little name-to-inode matchmaker (dentry = directory entry, iykyk) for the new inode.
  • file β€” the file to be opened πŸ“‚ literally exactly what it says, bestie. the file. it's being opened.

πŸ”₯ RETURN πŸ”₯

errno πŸ’€ that's it. that's the return section. the manpage says errno and dips. no cap, she's a mystery and she's thriving 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where all of GFS2 shows up to the group chat 😭 literally the whole friend group. the kernel file is ./fs/gfs2/inode.c and here's everybody:

twenty-five whole functions. the way that list just keeps going 😭 so many icons. every single one of them linked, none of them skipped, we eat πŸ’…βœ¨

ngl bestie, this page is smol β€” there's no OPTIONS, no ENVIRONMENT, no EXIT STATUS, no BUGS, no ERRORS, no author section, no copyright line. just vibes πŸ¦‹ so don't come for me, I kept literally everything that was there 🫢

that's the whole page, bestie ✨ she lives in ./fs/gfs2 and the version/date stamp on her is October 2026 β€” kernel API manual, __gfs2_lookup(9), signing off πŸ’–πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from