]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
kernfs: add struct dentry declaration in kernfs.h
authorTejun Heo <tj@kernel.org>
Fri, 17 Jan 2014 14:57:49 +0000 (09:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2014 19:50:07 +0000 (11:50 -0800)
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@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/kernfs.h

index d2c439db4efa2b7e8654608834858e4521d7970b..5be9f0228a3bbc8ddfad7a2fc245f6601cfc1f17 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/completion.h>
 
 struct file;
+struct dentry;
 struct iattr;
 struct seq_file;
 struct vm_area_struct;