nlmsvc_proc_unlock(9)
π NAME π
okay so this is nlmsvc_proc_unlock(9) from the Kernel API Manual, and the function is nlmsvc_proc_unlock β UNLOCK: Remove a lock. Itβs giving βlock says bye bestieβ energy, and weβre here for it.
β¨ SYNOPSIS β¨
__be32 nlmsvc_proc_unlock (struct svc_rqst *rqstp );
π ARGUMENTS π
rqstpβ RPC transaction context. Thatβs the whole RPC moment wrapped up, iykyk.
π«Ά RETURN π«Ά
rpc_success: RPC executed successfully. Slay, it worked.rpc_drop_reply: Do not send an RPC reply. Literally no reply, periodt.
πΈ DESCRIPTION πΈ
RPC synopsis:
nlm_res NLM_UNLOCK(nlm_unlockargs) = 4;
The permissible procedure status codes are:
LCK_GRANTED: The requested lock was released. Iconic β the lock is gone π.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. Itβs giving βgive me a sec, Iβm rebuilding my whole situationβ energy.
The Linux NLM server implementation also returns:
LCK_DENIED_NOLOCKS: A needed resource could not be allocated. Not the resource allocation failing π.
π¦ SEE ALSO π¦
Kernel file ./fs/lockd/svcproc.c plus the whole lockd bestie lineup:
nlmsvc_proc_null(9)nlmsvc_proc_test(9)nlmsvc_proc_lock(9)nlmsvc_proc_cancel(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_unshare(9)nlmsvc_proc_nm_lock(9)nlmsvc_proc_free_all(9)
xoxo π from ./fs/lockd, October 2026 β this has been nlmsvc_proc_unlock(9), signing off π
π¦ 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