nfs4_copy_de...tion_stateid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 ngl
  • flags β€” 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 πŸ’œ:


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