[PATCH driver-core-next 1/2] kernfs: add struct dentry declarationin kernfs.h

From: Tejun Heo
Date: Fri Jan 17 2014 - 09:58:05 EST


Hello, Greg.

Two misc fixes for kernfs.

Thanks.
------- 8< -------
struct dentry is used in kernfs.h but its declaration was missing,
leading to compilation errors unless its declaration gets pulled in in
some other way. Add the declaration.

Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
---
include/linux/kernfs.h | 1 +
1 file changed, 1 insertion(+)

--- a/include/linux/kernfs.h
+++ b/include/linux/kernfs.h
@@ -18,6 +18,7 @@
#include <linux/completion.h>

struct file;
+struct dentry;
struct iattr;
struct seq_file;
struct vm_area_struct;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/