nfs4_inode_...ion_on_close(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs4_inode_...ion_on_close(9) β€” like, the actual name is nfs4_inode_set_return_delegation_on_close bestie

okay so before we even start β€” this page lives in the Kernel API Manual and the truncated title up top is just the page name doing its little ellipsis thing. The real function is nfs4_inode_set_return_delegation_on_close, and honestly? she's a whole vibe. Let's get into it. ✨


🌸 NAME 🌸

nfs4_inode_set_return_delegation_on_close β€” asynchronously return a delegation πŸ¦‹

Like, you're telling the kernel "hey, when this file closes, give the delegation back." No cap.


πŸŽ€ SYNOPSIS πŸŽ€

void nfs4_inode_set_return_delegation_on_close (struct inode *inode );

One function, one argument, returns void. She doesn't return anything because she's too busy setting things up for later. Main character energy fr fr. πŸ’…


✨ ARGUMENTS ✨

  • inode β€” the inode to process. That's it. That's the whole argument. She's the one getting the delegation-return treatment. 🫢

πŸ’– DESCRIPTION πŸ’–

So here's the tea β˜• β€” this routine gets called when you wanna request that the delegation be returned, like, as soon as the file gets closed. Not right now, not this second, but the moment that file goes bye-bye. πŸŽ€

and if the file is already closed? bestie, the delegation is immediately returned. No waiting, no queue, no "let me think about it" β€” it just goes. 😭πŸ”₯

ngl the name is a mouthful and the header truncates it to nfs4_inode_...ion_on_close(9), but the function is nfs4_inode_set_return_delegation_on_close and she ate. πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./fs/nfs/delegation.c and honestly her whole friend group:


🧚 the cute little sign-off 🧚

This page is brought to you by the source directory ./fs/nfs, dated October 2026, and it's filed under the page name nfs4_inode_...ion_on_close(9) in the Kernel API Manual. Slay, documented, periodt. πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from