diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kernfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h index f75548b8ed7a..fad8b986800f 100644 --- a/include/linux/kernfs.h +++ b/include/linux/kernfs.h | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/err.h> | 11 | #include <linux/err.h> |
12 | #include <linux/list.h> | 12 | #include <linux/list.h> |
13 | #include <linux/mutex.h> | 13 | #include <linux/mutex.h> |
14 | #include <linux/idr.h> | ||
14 | #include <linux/lockdep.h> | 15 | #include <linux/lockdep.h> |
15 | 16 | ||
16 | struct file; | 17 | struct file; |
@@ -23,6 +24,9 @@ struct sysfs_dirent; | |||
23 | struct kernfs_root { | 24 | struct kernfs_root { |
24 | /* published fields */ | 25 | /* published fields */ |
25 | struct sysfs_dirent *sd; | 26 | struct sysfs_dirent *sd; |
27 | |||
28 | /* private fields, do not use outside kernfs proper */ | ||
29 | struct ida ino_ida; | ||
26 | }; | 30 | }; |
27 | 31 | ||
28 | struct sysfs_open_file { | 32 | struct sysfs_open_file { |