__gfs2_lookup(9)
π __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:
gfs2_set_iop(9)gfs2_inode_lookup(9)gfs2_lookup_by_inum(9)gfs2_lookup_meta(9)gfs2_lookupi(9)create_ok(9)gfs2_init_xattr(9)init_dinode(9)gfs2_trans_da_blks(9)gfs2_create_inode(9)gfs2_create(9)gfs2_link(9)gfs2_unlink_inode(9)gfs2_unlink(9)gfs2_symlink(9)gfs2_mkdir(9)gfs2_mknod(9)gfs2_atomic_open(9)update_moved_ino(9)gfs2_rename(9)gfs2_exchange(9)gfs2_get_link(9)gfs2_permission(9)gfs2_setattr(9)gfs2_getattr(9)
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
- 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