[PATCH 03/12] headers: fs.h vs ftrace.h
From: Alexey Dobriyan
Date: Fri Jun 20 2014 - 17:51:39 EST
---
include/linux/ftrace.h | 3 ++-
kernel/cred.c | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 404a686..e8d4056 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -15,7 +15,6 @@
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/init.h>
-#include <linux/fs.h>
#include <asm/ftrace.h>
@@ -42,6 +41,8 @@
struct module;
+struct inode;
+struct file;
struct ftrace_hash;
#ifdef CONFIG_FUNCTION_TRACER
diff --git a/kernel/cred.c b/kernel/cred.c
index e0573a4..bb9df75 100644
--- a/kernel/cred.c
+++ b/kernel/cred.c
@@ -9,6 +9,7 @@
* 2 of the Licence, or (at your option) any later version.
*/
#include <linux/export.h>
+#include <linux/fs.h>
#include <linux/cred.h>
#include <linux/slab.h>
#include <linux/sched.h>
--
1.8.5.5
--u3/rZRmxL6MmkK24
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0004-headers-fs.h-vs-trace_seq.h.patch"