diff options
| author | Chuck Lever <cel@kernel.org> | 2026-08-18 10:00:33 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-10-04 21:15:29 -0400 |
| commit | c5c238048318da90abd8ba52a0f74d335cca28b2 (patch) | |
| tree | 88b3e648ef205811b1ccfbf12448aab4ccfe67f6 /scripts/Makefile.thinlto | |
| parent | 23bd74f0ba17ef771cac96139245d7c6e05e76d1 (diff) | |
NFSD: Move the nfs3.h include out of nfsd.h
fs/nfsd/nfsd.h is included throughout the server, yet it uses no
NFSv3 protocol definition of its own. The <linux/nfs3.h> include
there served only to make those definitions reach the few source
files that need them, by way of nfsd.h itself or the xdr.h chain
that pulls it in.
Give each consumer its own include and drop the one in nfsd.h, so
the header no longer carries a dependency unrelated to its
contents. nfsfh.c, nfsctl.c, nfs3xdr.c, nfs3proc.c, and nfs2acl.c
reference NFS3_* definitions directly; add <linux/nfs3.h> to each.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260818140035.12740-1-cel@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
