diff options
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r-- | include/linux/genhd.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index fd647fde5ec1..3c1b0294a742 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h | |||
@@ -78,6 +78,7 @@ struct hd_struct { | |||
78 | sector_t start_sect; | 78 | sector_t start_sect; |
79 | sector_t nr_sects; | 79 | sector_t nr_sects; |
80 | struct kobject kobj; | 80 | struct kobject kobj; |
81 | struct kobject *holder_dir; | ||
81 | unsigned ios[2], sectors[2]; /* READs and WRITEs */ | 82 | unsigned ios[2], sectors[2]; /* READs and WRITEs */ |
82 | int policy, partno; | 83 | int policy, partno; |
83 | }; | 84 | }; |
@@ -89,12 +90,12 @@ struct hd_struct { | |||
89 | #define GENHD_FL_SUPPRESS_PARTITION_INFO 32 | 90 | #define GENHD_FL_SUPPRESS_PARTITION_INFO 32 |
90 | 91 | ||
91 | struct disk_stats { | 92 | struct disk_stats { |
92 | unsigned sectors[2]; /* READs and WRITEs */ | 93 | unsigned long sectors[2]; /* READs and WRITEs */ |
93 | unsigned ios[2]; | 94 | unsigned long ios[2]; |
94 | unsigned merges[2]; | 95 | unsigned long merges[2]; |
95 | unsigned ticks[2]; | 96 | unsigned long ticks[2]; |
96 | unsigned io_ticks; | 97 | unsigned long io_ticks; |
97 | unsigned time_in_queue; | 98 | unsigned long time_in_queue; |
98 | }; | 99 | }; |
99 | 100 | ||
100 | struct gendisk { | 101 | struct gendisk { |
@@ -114,6 +115,8 @@ struct gendisk { | |||
114 | int number; /* more of the same */ | 115 | int number; /* more of the same */ |
115 | struct device *driverfs_dev; | 116 | struct device *driverfs_dev; |
116 | struct kobject kobj; | 117 | struct kobject kobj; |
118 | struct kobject *holder_dir; | ||
119 | struct kobject *slave_dir; | ||
117 | 120 | ||
118 | struct timer_rand_state *random; | 121 | struct timer_rand_state *random; |
119 | int policy; | 122 | int policy; |