nfs_inode_set_delegation(9)
π 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 itsfmode_tglory β¨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:
- Kernel file
./fs/nfs/delegation.c nfs_mark_delegation_referenced(9)nfs4_have_delegation(9)nfs_inode_reclaim_delegation(9)nfs_client_return_marked_delegations(9)nfs_inode_evict_delegation(9)nfs4_inode_return_delegation(9)nfs4_inode_set_return_delegation_on_close(9)nfs4_inode_return_delegation_on_close(9)nfs4_inode_make_writeable(9)nfs_expire_all_delegations(9)nfs_server_return_all_delegations(9)nfs_remove_bad_delegation(9)nfs_expire_unreferenced_delegations(9)nfs_async_inode_return_delegation(9)nfs_delegation_find_inode(9)nfs_delegation_mark_reclaim(9)nfs_delegation_reap_unclaimed(9)nfs_mark_test_expired_all_delegations(9)nfs_test_expired_all_delegations(9)nfs_reap_expired_delegations(9)nfs_delegations_present(9)nfs4_refresh_delegation_stateid(9)nfs4_copy_delegation_stateid(9)nfs4_delegation_flush_on_close(9)
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
- 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