Skip to content

Commit

Permalink
kernfs: add struct dentry declaration in kernfs.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
htejun authored and gregkh committed Jan 17, 2014
1 parent bb30594 commit 917f56c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/kernfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <linux/completion.h>

struct file;
struct dentry;
struct iattr;
struct seq_file;
struct vm_area_struct;
Expand Down

0 comments on commit 917f56c

Please sign in to comment.