ceph_get_inode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 be NULL) πŸ’œ

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


mwah πŸ’‹ this cutie is from ./fs/ceph, dated October 2026 β€” periodt πŸŽ€

πŸ“¦ where this page comes from