nfs_inode_evict_delegation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs_inode_evict_delegation(9)

okay bestie, so this is nfs_inode_evict_delegation(9) straight out of the Kernel API Manual β€” yes, the real one, the grown-up kernel docs, and no I will not calm down about it ✨


πŸŽ€ NAME πŸŽ€

nfs_inode_evict_delegation β€” return that delegation, and do not reclaim opens while you're at it 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void nfs_inode_evict_delegation (struct inode *inode );

🌸 ARGUMENTS 🌸

  • inode β€” the inode you're processing, she's the main character here πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

So what this does is return the delegation, but it is not out here protecting you against delegation reclaims. Like, at all. Which means it's genuinely only safe to call from nfs4_clear_inode. Read that again. It's giving "do not freestyle this" energy, okay? πŸ™ˆ

The one thing it is guaranteed to do: it always frees the delegation structure. Always. Every time. Periodt πŸ’…

lowkey important bestie β€” this thing does not protect against delegation reclaims, so if you call it from anywhere other than nfs4_clear_inode that's on you and the vibe check will not be in your favour 😭

🌈 SEE ALSO 🌈

Kernel file ./fs/nfs/delegation.c β€” and honestly the whole delegation friend group, they all show up here:


and that's the whole page, bestie, you ate that πŸ“

signing off with the receipts: this one lives in ./fs/nfs, dated October 2026, straight from the Kernel API Manual itself β€” mwah πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from