aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kernfs.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-01-17 09:57:49 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-17 11:50:07 -0800
commit917f56caaabc215f9658006dad28a9665ec0ce19 (patch)
tree0a82ffc93096cfc0d07d88cf9f5eb68b6c0c61d6 /include/linux/kernfs.h
parentbb305947bdbb67325e1f949183cdd208fc2a7999 (diff)
kernfs: add struct dentry declaration in kernfs.h
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>
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r--include/linux/kernfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h
index d2c439db4efa..5be9f0228a3b 100644
--- 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;