ceph_get_inode(9)
ceph_get_inode(9) π§
okay bestie, welcome to the Kernel API Manual β¨ this one is all about ceph_get_inode, and it's giving "find it or make it" energy π
π NAME π
ceph_get_inode β find or create/hash a new inode π
β¨ SYNOPSIS β¨
struct inode * ceph_get_inode (struct super_block *sb , struct ceph_vino vino , struct inode *newino );
πΈ ARGUMENTS πΈ
sbβ the superblock to search and allocate in π¦vinoβ the vino to search for πnewinoβ optional new inode to insert if one isn't found (may beNULL) π
π₯ DESCRIPTION π₯
So basically: search for or insert a new inode into the hash for the given vino, and return a reference to it. slay β¨
And listen: if new is non-NULL, its reference is consumed. that's the rule, bestie, no cap π
π¦ SEE ALSO π¦
- Kernel file
./fs/ceph/inode.c ceph_new_inode(9)
mwah π this cutie is from ./fs/ceph, dated October 2026 β 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