]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lockd: Move xdr4.h from include/linux/lockd/ to fs/lockd/
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 Jan 2026 15:19:28 +0000 (10:19 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Mar 2026 01:25:09 +0000 (21:25 -0400)
commitf4d5f8caadd858f11b21e8a9e5c85290fc21a568
tree92b181aa1309afa4287056c4a3b6862592917a3f
parent840621fd2ff23ada8b9262d90477e75232566e6b
lockd: Move xdr4.h from include/linux/lockd/ to fs/lockd/

The xdr4.h header declares NLMv4-specific XDR encoder/decoder
functions and error codes that are used exclusively within the
lockd subsystem. Moving it from include/linux/lockd/ to fs/lockd/
clarifies the intended scope of these declarations and prevents
external code from depending on lockd-internal interfaces.

This change reduces the public API surface of the lockd module
and makes it easier to refactor NLMv4 internals without risk of
breaking out-of-tree consumers. The header's contents are
implementation details of the NLMv4 wire protocol handling, not
a contract with other kernel subsystems.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/lockd/clnt4xdr.c
fs/lockd/svc4proc.c
fs/lockd/xdr4.c
fs/lockd/xdr4.h [moved from include/linux/lockd/xdr4.h with 84% similarity]
include/linux/lockd/bind.h
include/linux/lockd/lockd.h