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

The share.h header defines struct nlm_share and declares the DOS
share management functions used by the NLM server to implement
NLM_SHARE and NLM_UNSHARE operations. These interfaces are used
exclusively within the lockd subsystem. A git grep search confirms
no external code references them.

Relocating this header from include/linux/lockd/ to fs/lockd/
narrows the public API surface of the lockd module. Out-of-tree
code cannot depend on these internal interfaces after this change.
Future refactoring of the share management implementation thus
requires no consideration of external consumers.

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