diff options
| author | Chuck Lever <cel@kernel.org> | 2026-07-12 16:45:48 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-10 09:54:35 -0400 |
| commit | 2c80e597bcf77c9dabf0e15fb1f368703905b987 (patch) | |
| tree | 815e246506fc1fc198e745df36c42fe2571c1f49 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 70086b502e9ba7fa7192e0f8697f448443035c83 (diff) | |
NFSD: include "netns.h"
Nothing in fs/nfsd/nfsd.h needs the contents of "netns.h"; the
prototypes there that take a struct nfsd_net pointer need only a
forward declaration of that type. Relocate the existing forward
declaration ahead of the first such prototype, drop the "netns.h"
include from nfsd.h, and include it directly in the translation
units that operate on struct nfsd_net.
"netns.h" had also been the path by which <linux/filelock.h>
reached nfsxdr.c and state.h. Both now include <linux/filelock.h>
themselves.
Link: https://patch.msgid.link/20260712204554.125308-4-cel@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
