]> git.ipfire.org Git - thirdparty/linux.git/commit
lockd: Relocate include/linux/lockd/lockd.h
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 Jan 2026 15:19:30 +0000 (10:19 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Mar 2026 01:25:09 +0000 (21:25 -0400)
commit2c562c6e6715619ce34bb37d8a0a5e40fdcc7a44
tree55a7ac69bd3d5da1643dae8ce3c797588395faf7
parent4db2f8a016dc9f9b357bfbf5c507c2582bb36730
lockd: Relocate include/linux/lockd/lockd.h

Headers placed in include/linux/ form part of the kernel's
internal API and signal to subsystem maintainers that other
parts of the kernel may depend on them. By moving lockd.h
into fs/lockd/, lockd becomes a more self-contained module
whose internal interfaces are clearly distinguished from its
public contract with the rest of the kernel. This relocation
addresses a long-standing XXX comment in the header itself
that acknowledged the file's misplacement. Future changes to
lockd internals can now proceed with confidence that external
consumers are not inadvertently coupled to implementation
details.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
16 files changed:
fs/lockd/clnt4xdr.c
fs/lockd/clntlock.c
fs/lockd/clntproc.c
fs/lockd/clntxdr.c
fs/lockd/host.c
fs/lockd/lockd.h [moved from include/linux/lockd/lockd.h with 98% similarity]
fs/lockd/mon.c
fs/lockd/svc.c
fs/lockd/svc4proc.c
fs/lockd/svclock.c
fs/lockd/svcproc.c
fs/lockd/svcshare.c
fs/lockd/svcsubs.c
fs/lockd/trace.h
fs/lockd/xdr.c
fs/lockd/xdr4.c