nfs_inode_set_delegation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs_inode_set_delegation(9) β€” like, the Kernel API Manual one πŸŽ€

okay so bestie, welcome to nfs_inode_set_delegation(9) β€” yes that's the whole tl;dr section, it's literally at the top of the Kernel API Manual, we love a functional heading ✨


🌸 NAME 🌸

nfs_inode_set_delegation β€” sets up a delegation on an inode. that's it, that's the vibe check πŸ¦‹


⭐ SYNOPSIS ⭐

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

look at her, six args deep, still serving main character energy πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • inode β€” the inode to which the delegation applies. like, the actual subject of the whole delegation situation 🫢
  • cred β€” the cred to use for subsequent delegation processing. bestie's credentials, respectfully πŸ”₯
  • type β€” delegation type, in all its fmode_t glory ✨
  • stateid β€” the delegation stateid. iconic identifier behavior πŸ’…
  • pagemod_limit β€” the write delegation "space_limit". yes with the quotes, don't @ me, that's verbatim πŸ“
  • deleg_type β€” the raw delegation type. raw as in unprocessed, not raw as in ngl-that's-a-lot πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she do? Returns zero on success, or a negative errno value. that's the entire description, she's mysterious, she's brief, she ate and left zero crumbs πŸ’€

lowkey the whole personality is "zero on success, negative errno otherwise" and honestly? relatable 😭

🌈 SEE ALSO 🌈

the group chat is huge, buckle up buttercup, every single one of these is invited:

fr fr that's twenty-five whole references, she's connected, she knows everyone 🧚


mwah πŸ’‹ this page lives in ./fs/nfs, dated October 2026, and answers to the name nfs_inode_set_delegation(9) β€” periodt. go set a delegation on an inode, you got this πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from