nfs4_copy_de...tion_stateid(9)
β¨ nfs4_copy_delegation_stateid β¨
okay so bestie, welcome to the nfs4_copy_delegation_stateid(9) page π
this one's short and sweet, and it lives in the Kernel API Manual, so let's get into it π«Ά
π NAME π
nfs4_copy_delegation_stateid β literally copies the inode's state ID info πβ¨
πΈ SYNOPSIS πΈ
bool nfs4_copy_delegation_stateid (struct inode *inode , fmode_t flags ,
nfs4_stateid *dst , const struct cred **cred );
that's the whole signature, no cap π§
π¦ ARGUMENTS π¦
inodeβ the inode you're checking, like the main character of this function nglflagsβ the delegation type requirement, i.e. what kind of delegation you're asking for π₯dstβ the stateid data structure that gets filled in, she's the canvas π¨credβ optional argument, and it's there to retrieve the credential π
π DESCRIPTION π
So here's the tea β: it returns "true" and fills in "dst->data" * if the inode had a delegation. Otherwise? "false" gets returned, periodt. π
ngl the literal * is sitting right there in the original description, so I'm keeping it exactly where it is β no editing the source, bestie π
π SEE ALSO π
Kernel file ./fs/nfs/delegation.c β and honestly the whole delegation friend group is linked here, so let's list every single one of them π:
nfs_mark_delegation_referenced(9)nfs4_have_delegation(9)nfs_inode_reclaim_delegation(9)nfs_inode_set_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_delegation_flush_on_close(9)
and that's the whole page, you ate that π source is ./fs/nfs, dated October 2026 β see you in the group chat, mwah ππ
π¦ 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