]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lockd: Relocate and rename nlm_drop_reply
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 Jan 2026 15:19:23 +0000 (10:19 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Mar 2026 01:25:09 +0000 (21:25 -0400)
commit153b9e025308417d167332c93e1bcc11174178de
tree4dcc647529b7bb8525816ea509297568108dae52
parentaa772bcc40e1722302b05045d96c0169ac5a2717
lockd: Relocate and rename nlm_drop_reply

The nlm_drop_reply status code is internal to the kernel's lockd
implementation and must never appear on the wire. Its previous
location in xdr.h grouped it with legitimate NLM protocol status
codes, obscuring this critical distinction.

Relocate the definition to lockd.h with a comment block for internal
status codes, and rename to nlm__int__drop_reply to make its
internal-only nature explicit. This prepares for adding additional
internal status codes in subsequent patches.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/lockd/svc4proc.c
fs/lockd/svclock.c
fs/lockd/svcproc.c
fs/nfsd/lockd.c
include/linux/lockd/lockd.h
include/linux/lockd/xdr.h