mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
NFSD: Move the export.h include from nfsd.h to auth.c
Nothing declared in fs/nfsd/nfsd.h references a type, macro, or function that export.h defines. The include is present only so that source files including nfsd.h pick up export.h's definitions transitively. Of the twenty source files that include nfsd.h, only auth.c relies on that side effect: it names struct svc_export and the NFSEXP_* flags yet includes no header that supplies them. Add the export.h include directly to auth.c, then drop it from nfsd.h so the header carries only the dependencies its own declarations require. Link: https://patch.msgid.link/20260712204554.125308-6-cel@kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <cel@kernel.org>
This commit is contained in:
parent
a29532948a
commit
71a7c58770
2 changed files with 1 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue