diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/proc_fs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 650af6deaf8f..643b96c7a94f 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
| @@ -50,8 +50,6 @@ typedef int (write_proc_t)(struct file *file, const char __user *buffer, | |||
| 50 | 50 | ||
| 51 | struct proc_dir_entry { | 51 | struct proc_dir_entry { |
| 52 | unsigned int low_ino; | 52 | unsigned int low_ino; |
| 53 | unsigned int namelen; | ||
| 54 | const char *name; | ||
| 55 | mode_t mode; | 53 | mode_t mode; |
| 56 | nlink_t nlink; | 54 | nlink_t nlink; |
| 57 | uid_t uid; | 55 | uid_t uid; |
| @@ -73,9 +71,11 @@ struct proc_dir_entry { | |||
| 73 | write_proc_t *write_proc; | 71 | write_proc_t *write_proc; |
| 74 | atomic_t count; /* use count */ | 72 | atomic_t count; /* use count */ |
| 75 | int pde_users; /* number of callers into module in progress */ | 73 | int pde_users; /* number of callers into module in progress */ |
| 76 | spinlock_t pde_unload_lock; /* proc_fops checks and pde_users bumps */ | ||
| 77 | struct completion *pde_unload_completion; | 74 | struct completion *pde_unload_completion; |
| 78 | struct list_head pde_openers; /* who did ->open, but not ->release */ | 75 | struct list_head pde_openers; /* who did ->open, but not ->release */ |
| 76 | spinlock_t pde_unload_lock; /* proc_fops checks and pde_users bumps */ | ||
| 77 | u8 namelen; | ||
| 78 | char name[]; | ||
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | enum kcore_type { | 81 | enum kcore_type { |
