nlmsvc_proc_unshare(9)
π nlmsvc_proc_unshare β the Kernel API Manual glow-up π¦
okay so this is nlmsvc_proc_unshare(9), bestie β a kernel API manual page, and honestly? she's serving release the share reservation realness. Let's get into it π
β¨ NAME β¨
nlmsvc_proc_unshare β UNSHARE: Release a share reservation π
πΈ SYNOPSIS πΈ
__be32 nlmsvc_proc_unshare (struct svc_rqst *rqstp );
that's it. that's the whole vibe. one function, one argument, __be32 out the other side β¨
π«Ά ARGUMENTS π«Ά
rqstpβ the RPC transaction context π like, the whole little world this call is living in. everything you need to know about the request in flight? it's in there.
π₯ RETURN π₯
here's the tea on what comes back π
rpc_successβ RPC executed successfully. slay. it worked. πrpc_drop_replyβ Do not send an RPC reply. no cap, literally nothing goes back out. π
π DESCRIPTION π
okay so the RPC synopsis, character for character, no notes:
nlm_shareres NLM_UNSHARE(nlm_shareargs) = 21;
and here are the permissible procedure status codes you might see π
LCK_GRANTEDβ The share reservation was released. iconic behaviour, honestly. mission accomplished πLCK_DENIED_GRACE_PERIODβ The server has recently restarted and is re-establishing existing locks, and is not yet ready to accept normal service requests. like babe she just woke up, give her a sec to put her lashes on π she is not taking requests yet.
not me also telling you that the Linux NLM server implementation returns extra stuff beyond the standard set β it's giving overachiever π§
LCK_DENIED_NOLOCKSβ A needed resource could not be allocated. rip. the room was full, the resource was not available, we move π
fr fr though β those status codes are the entire story of what this call can tell you. don't sleep on LCK_DENIED_GRACE_PERIOD, she's the one that confuses people. it means restarted + still rebuilding locks, not nope forever.
π¦ SEE ALSO π¦
the whole friend group π«Ά β kernel file ./fs/lockd/svcproc.c and, in no particular order, every sibling that shows up to the party:
nlmsvc_proc_null(9)nlmsvc_proc_test(9)nlmsvc_proc_lock(9)nlmsvc_proc_cancel(9)nlmsvc_proc_unlock(9)nlmsvc_proc_granted(9)nlmsvc_proc_test_msg(9)nlmsvc_proc_lock_msg(9)nlmsvc_proc_cancel_msg(9)nlmsvc_proc_unlock_msg(9)nlmsvc_proc_granted_msg(9)nlmsvc_proc_granted_res(9)nlmsvc_proc_sm_notify(9)nlmsvc_proc_unused(9)nlmsvc_proc_share(9)nlmsvc_proc_nm_lock(9)nlmsvc_proc_free_all(9)
iykyk π«
aaaand that's the page!! π huge shoutout to ./fs/lockd for being the source home, October 2026 for the date stamp, and nlmsvc_proc_unshare(9) for the manual name β you ate and left zero crumbs, bestie πβ¨
π¦ 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