Commit f2eb478f2f32 ("kernfs: move struct kernfs_root out of the public view.") moved kernfs_root out of kernfs.h, but my debugging code of a #if 0 was left in accidentally. Fix that up by removing the guards.
Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -185,26 +185,6 @@ struct kernfs_syscall_ops { · 184 unmodified lines | ||
| 185 | 185 | struct kernfs_root *root); |
| 186 | 186 | }; |
| 187 | 187 | |
| 188 | −#if 0 | |
| 189 | −struct kernfs_root { | |
| 190 | − /* published fields */ | |
| 191 | − struct kernfs_node *kn; | |
| 192 | − unsigned int flags; /* KERNFS_ROOT_* flags */ | |
| 193 | − | |
| 194 | − /* private fields, do not use outside kernfs proper */ | |
| 195 | − struct idr ino_idr; | |
| 196 | − u32 last_id_lowbits; | |
| 197 | − u32 id_highbits; | |
| 198 | − struct kernfs_syscall_ops *syscall_ops; | |
| 199 | − | |
| 200 | − /* list of kernfs_super_info of this root, protected by kernfs_rwsem */ | |
| 201 | − struct list_head supers; | |
| 202 | − | |
| 203 | − wait_queue_head_t deactivate_waitq; | |
| 204 | − struct rw_semaphore kernfs_rwsem; | |
| 205 | −}; | |
| 206 | −#endif | |
| 207 | − | |
| 208 | 188 | struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root); |
| 209 | 189 | |
| 210 | 190 | struct kernfs_open_file { |