Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
NFSD: Include <linux/nfs_fh.h> where struct nfs_fh is used
struct nfsd4_copy embeds a struct nfs_fh, and nlm_fopen() reads the size and data fields of one. Neither fs/nfsd/xdr4.h nor fs/nfsd/lockd.c includes the header that defines the type; both reach it by way of nfsd.h, which pulls in <linux/nfs.h>. Add the direct include to both files, so nfsd.h can later drop the <linux/nfs.h> it carries for no use of its own. Reviewed-by: Jeff Layton <jlayton@kernel.org> Link: https://patch.msgid.link/20260818140035.12740-2-cel@kernel.org Signed-off-by: Chuck Lever <cel@kernel.org>
Author Chuck Lever Date (Oct 5, 2026, 1:15 AM UTC) Commit
Copy SHA
Parent c5c23804 c5c238048318da90abd8ba52a0f74d335cca28b2