summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/trace.h
diff options
context:
space:
mode:
authorJeff Layton2015-10-03 14:19:57 +0200
committerJ. Bruce Fields2015-10-23 21:57:29 +0200
commit825213e59ec24110b0a0f94456db42621f928421 (patch)
tree7f645017eaafff5856d45403f2d51556c3e6d26a /fs/nfsd/trace.h
parentsunrpc: avoid warning in gss_key_timeout (diff)
downloadkernel-qcow2-linux-825213e59ec24110b0a0f94456db42621f928421.tar.gz
kernel-qcow2-linux-825213e59ec24110b0a0f94456db42621f928421.tar.xz
kernel-qcow2-linux-825213e59ec24110b0a0f94456db42621f928421.zip
nfsd: move include of state.h from trace.c to trace.h
Any file which includes trace.h will need to include state.h, even if they aren't using any state tracepoints. Ensure that we include any headers that might be needed in trace.h instead of relying on the *.c files to have the right ones. Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/trace.h')
-rw-r--r--fs/nfsd/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/trace.h b/fs/nfsd/trace.h
index c668520c344b..0befe762762b 100644
--- a/fs/nfsd/trace.h
+++ b/fs/nfsd/trace.h
@@ -9,6 +9,8 @@
#include <linux/tracepoint.h>
+#include "state.h"
+
DECLARE_EVENT_CLASS(nfsd_stateid_class,
TP_PROTO(stateid_t *stp),
TP_ARGS(stp),