nlm4svc_proc_unshare(9)
π nlm4svc_proc_unshare π
okay bestie, so we're deep in the Kernel API Manual today β yes, the actual kernel, like, the big one β and this little cutie is nlm4svc_proc_unshare. she's giving niche but honestly? iconic. let's get into it π«Ά
β¨ NAME β¨
nlm4svc_proc_unshare β UNSHARE: Release a share reservation
like, she literally un-shares. closes the group chat. takes her name out of the shared doc. we love a boundary-setting queen π
πΈ SYNOPSIS πΈ
__be32 nlm4svc_proc_unshare (struct svc_rqst *rqstp );
one function, one argument, zero drama. slay.
π ARGUMENTS π
rqstpβ RPC transaction context π this is the vibe-check envelope everything arrives in, no cap
π¦ RETURN π¦
rpc_successβ RPC executed successfully. she did it, she ate, no crumbs β¨rpc_drop_replyβ Do not send an RPC reply. literally do not reply. leave them on read π
π DESCRIPTION π
okay so here's the RPC synopsis, and bestie I need you to read it exactly:
nlm4_shareres NLMPROC4_UNSHARE(nlm4_shareargs) = 21;
the 21 at the end? that's her number. that's the procedure she is. main character energy fr fr π₯
now, the permissible procedure status codes β these are the only answers she's allowed to give:
NLM4_GRANTEDβ The share reservation was released. mission accomplished, reservation cancelled, table is yours again πNLM4_DENIED_GRACE_PERIODβ The server has recently restarted and is re-establishing existing locks, and is not yet ready to accept normal service requests. π she's literally rebooting her whole life rn, give her a minute
the Linux NLM server implementation also returns these extra ones (she's generous like that π):
NLM4_DENIED_NOLOCKSβ A needed resource could not be allocated. she simply did not have the supplies πNLM4_STALE_FHβ The request specified an invalid file handle. that handle is old, expired, not her problem πNLM4_FBIGβ The request specified a length or offset that exceeds the range supported by the server. too much. way too much. scale it back bestie π€NLM4_FAILEDβ The request failed for an unspecified reason. it just didn't work and honestly? we don't know why. mysterious. ethereal. π§
no lies detected, these are the whole list β every code, every meaning, nothing skipped. periodt. π
π« SEE ALSO π«
Kernel file ./fs/lockd/svc4proc.c and honestly her entire friend group:
nlm4svc_proc_null(9)nlm4svc_proc_test(9)nlm4svc_proc_lock(9)nlm4svc_proc_cancel(9)nlm4svc_proc_unlock(9)nlm4svc_proc_granted(9)nlm4svc_proc_test_msg(9)nlm4svc_proc_lock_msg(9)nlm4svc_proc_cancel_msg(9)nlm4svc_proc_unlock_msg(9)nlm4svc_proc_granted_msg(9)nlm4svc_proc_granted_res(9)nlm4svc_proc_sm_notify(9)nlm4svc_proc_unused(9)nlm4svc_proc_share(9)nlm4svc_proc_nm_lock(9)nlm4svc_proc_free_all(9)
it's giving squad goals π
okay that's the whole page!! so much love from the fine folks at ./fs/lockd, dated October 2026 β mark your calendars bestie, that's the era this lore dropped ππβ¨ love u, go release some share reservations responsibly π«Ά
π¦ 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