nfs_inode_re...m_delegation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs_inode_reclaim_delegation β€” kernel API manual, bestie edition

okay so this is a page from the Kernel API Manual (yes, the kernel has lore, and yes, it's giving documentation era). Today's main character is nfs_inode_reclaim_delegation(9) β€” say that five times fast, I dare you 😭


✨ NAME ✨

nfs_inode_reclaim_delegation β€” the function that handles a delegation reclaim request. That's it, that's the vibe. 🫢


🌸 SYNOPSIS 🌸

void nfs_inode_reclaim_delegation (struct inode *inode , const struct
       cred *cred , fmode_t type , const nfs4_stateid *stateid , unsigned long
       pagemod_limit , u32 deleg_type );

no cap, that's the whole signature β€” copy it exactly if you're typing it out, she's picky about her pointers and her spacing πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so this function takes six things and every single one of them matters, so let's go through them one by one like we're doing a vibe check on each parameter πŸ‘‘

  • inode β€” the inode we're processing. the literal subject of the whole operation. main character energy, honestly πŸ‘‘
  • cred β€” the credential to use for the request. like, who's allowed to be doing this. bring your ID bestie πŸͺͺ
  • type β€” the delegation type. it's an fmode_t, so it's mode-flavored. iconic ✨
  • stateid β€” the delegation stateid. a const nfs4_stateid *, because we're looking, not touching πŸ™ˆ
  • pagemod_limit β€” the write delegation "space_limit". yes, the original puts space_limit in quotes, so we keep it in quotes, periodt πŸ’…
  • deleg_type β€” the raw delegation type. a u32, and importantly raw, so don't go confusing it with the processed type up there β€” they are not the same girl, don't merge them 😀
lowkey the biggest flex here is that type and deleg_type are two separate arguments and you absolutely must not swap them. iykyk 🧚

πŸŽ€ SEE ALSO πŸŽ€

the kernel file this lives in is ./fs/nfs/delegation.c β€” that's the address, that's the whole neighborhood 🏑

and now, the delegation cinematic universe, in the exact order the page gives it. buckle up bestie, it's a long one 🌈

like… twenty-four cross-references. twenty-four. she ate and left absolutely no crumbs πŸ”₯πŸ“


and that's the page!! πŸŽ€ source is ./fs/nfs, dated October 2026, and the whole thing is filed under nfs_inode_re...m_delegation(9) β€” yes the title is abbreviated with literal dots, no that's not a typo on my end, that's just how she's listed πŸ’œ bye bestie, go reclaim some delegations responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from