diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/elevator.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 02604c89ddde..04958ef53e62 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h | |||
@@ -78,11 +78,11 @@ struct elv_fs_entry { | |||
78 | */ | 78 | */ |
79 | struct elevator_type | 79 | struct elevator_type |
80 | { | 80 | { |
81 | struct list_head list; | ||
82 | struct elevator_ops ops; | 81 | struct elevator_ops ops; |
83 | struct elv_fs_entry *elevator_attrs; | 82 | struct elv_fs_entry *elevator_attrs; |
84 | char elevator_name[ELV_NAME_MAX]; | 83 | char elevator_name[ELV_NAME_MAX]; |
85 | struct module *elevator_owner; | 84 | struct module *elevator_owner; |
85 | struct list_head list; | ||
86 | }; | 86 | }; |
87 | 87 | ||
88 | /* | 88 | /* |
@@ -90,10 +90,9 @@ struct elevator_type | |||
90 | */ | 90 | */ |
91 | struct elevator_queue | 91 | struct elevator_queue |
92 | { | 92 | { |
93 | struct elevator_ops *ops; | 93 | struct elevator_type *type; |
94 | void *elevator_data; | 94 | void *elevator_data; |
95 | struct kobject kobj; | 95 | struct kobject kobj; |
96 | struct elevator_type *elevator_type; | ||
97 | struct mutex sysfs_lock; | 96 | struct mutex sysfs_lock; |
98 | struct hlist_head *hash; | 97 | struct hlist_head *hash; |
99 | unsigned int registered:1; | 98 | unsigned int registered:1; |