nlm4svc_proc_unlock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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