STRUCT NLMSVC_BINDING(9)
π struct nlmsvc_binding π
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the page for struct nlmsvc_binding, and it's literally the lockd -> nfsd callback table. It's giving βtiny handoff table with main character energy,β and we're gonna read it together. β¨
β¨ NAME β¨
struct nlmsvc_binding β lockd -> nfsd callback table. periodt.
πΈ SYNOPSIS πΈ
struct nlmsvc_binding {
struct module *owner;
int (*fopen)(struct svc_rqst *rqstp, struct nfs_fh *f, struct file
**filp, int flags);
void (*fclose)(struct file *filp);
};
π«Ά Members π«Ά
ownerβ module that provides this binding. like, the module supplying the whole binding vibe. πfopenβ open a file by NFS file handle on behalf of an NLM request. yes bestie, that's the callback doing the opening. π¦fcloseβ close a file that was previously opened viafopen.
β οΈ okay so this part is not optional: implementations MUST be semantically equivalent to fput. no cap. π₯
π SEE ALSO π
- Kernel file
./include/linux/lockd/bind.hβ go look, iykyk. π
xoxo, your girl π β brought to you by ./include/linux/lockd, dated October 2026, for struct nlmsvc_binding(9). slay. π
π¦ 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