nlm4svc_proc_unlock(9)
π nlm4svc_proc_unlock(9) β bestie's guide to the Kernel API Manual π
okay so this is the manual page for nlm4svc_proc_unlock, straight out of the Kernel API Manual, and honestly? it's giving "one job, does it well." no cap. π¦
β¨ NAME β¨
nlm4svc_proc_unlock β UNLOCK: Remove a lock π
like, that's it. that's the whole vibe. it removes a lock. iconic behavior.
πΈ SYNOPSIS πΈ
__be32 nlm4svc_proc_unlock (struct svc_rqst *rqstp );
π ARGUMENTS π
rqstpβ the RPC transaction context, aka the little passport this request carries around π«Ά
β RETURN β
rpc_successβ RPC executed successfully. slay. βrpc_drop_replyβ Do not send an RPC reply. (yes literally, just don't reply. ghosting, but make it protocol π)
π₯ DESCRIPTION π₯
RPC synopsis, and I'm gonna need you to read it exactly:
nlm4_res NLMPROC4_UNLOCK(nlm4_unlockargs) = 4;
the = 4 is the procedure number, iykyk.
Permissible procedure status codes, bestie, take notes π:
NLM4_GRANTEDβ The requested lock was released. we love a clean exit β¨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 healing, give her a minute π
and the Linux NLM server implementation is extra and also returns these:
NLM4_DENIED_NOLOCKSβ A needed resource could not be allocated. the budget did not budget πNLM4_STALE_FHβ The request specified an invalid file handle. expired. like that group chat link from 2023 πNLM4_FBIGβ The request specified a length or offset that exceeds the range supported by the server. too much. overstimulated. πNLM4_FAILEDβ The request failed for an unspecified reason. no explanation, just vibes π
fr fr memorize those codes β they're the whole personality of this procedure π
π§ SEE ALSO π§
Kernel file ./fs/lockd/svc4proc.c and the whole friend group:
nlm4svc_proc_null(9)nlm4svc_proc_test(9)nlm4svc_proc_lock(9)nlm4svc_proc_cancel(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_unshare(9)nlm4svc_proc_nm_lock(9)nlm4svc_proc_free_all(9)
and that's the page!! π sourced from ./fs/lockd, dated October 2026 β screenshot it, cite it, live by it. mwah π«Άβ¨
π¦ 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