v9fs_get_inode_from_fid(9)
π
v9fs_get_inode_from_fid π
okay so bestie, welcome to the Kernel API Manual entry for v9fs_get_inode_from_fid(9) β yes it's a mouthful, yes you're gonna say it eight times today, and yes it's iconic. sit down, grab a matcha π, and let's get into it.
β¨ NAME β¨
v9fs_get_inode_from_fid β literally the little helper routine that populates an inode by issuing a attribute request π
like⦠that's the whole job. it shows up, it asks for attributes, it fills in an inode. main character energy fr fr.
πΈ SYNOPSIS πΈ
struct inode * v9fs_get_inode_from_fid (struct v9fs_session_info *v9ses
, struct p9_fid *fid , struct super_block *sb );
ngl the line breaks in that synopsis are giving "texted you at 2am" but it's fine, we copy it exactly π
π¦ ARGUMENTS π¦
okay so three (3) besties walk into this function:
v9sesβ session information. like, the vibes/context of the session. it's thestruct v9fs_session_info *and it knows things.fidβ the fid to issue attribute request for. this is the fid. the one you're asking about. it's the whole point π«Άsbβ the superblock on which to create inode. that's where the inode gets made. new inode, new me, same superblock β¨
lowkey if you mix these up that's a you problem, they're clearly labeled π
π₯ SEE ALSO π₯
the girlies you should also be reading, no cap:
- Kernel file
./fs/9p/v9fs.h enum p9_cache_shortcuts(9)enum p9_cache_bits(9)struct v9fs_session_info(9)v9fs_get_new_inode_from_fid(9)
iykyk β go read them, they're all in the ./fs/9p cinematic universe π
okay that's the whole page, you ate that ππ
cute little sign-off bestie: this came out of./fs/9p, dated October 2026, and it's thev9fs_get_inode_from_fid(9)page β periodt. πβ¨
π¦ 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