diff options
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r-- | include/linux/genhd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 239e24b081a9..7cbd38d363a2 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h | |||
@@ -90,6 +90,7 @@ struct disk_stats { | |||
90 | struct hd_struct { | 90 | struct hd_struct { |
91 | sector_t start_sect; | 91 | sector_t start_sect; |
92 | sector_t nr_sects; | 92 | sector_t nr_sects; |
93 | sector_t alignment_offset; | ||
93 | struct device __dev; | 94 | struct device __dev; |
94 | struct kobject *holder_dir; | 95 | struct kobject *holder_dir; |
95 | int policy, partno; | 96 | int policy, partno; |
@@ -215,6 +216,7 @@ static inline void disk_put_part(struct hd_struct *part) | |||
215 | #define DISK_PITER_REVERSE (1 << 0) /* iterate in the reverse direction */ | 216 | #define DISK_PITER_REVERSE (1 << 0) /* iterate in the reverse direction */ |
216 | #define DISK_PITER_INCL_EMPTY (1 << 1) /* include 0-sized parts */ | 217 | #define DISK_PITER_INCL_EMPTY (1 << 1) /* include 0-sized parts */ |
217 | #define DISK_PITER_INCL_PART0 (1 << 2) /* include partition 0 */ | 218 | #define DISK_PITER_INCL_PART0 (1 << 2) /* include partition 0 */ |
219 | #define DISK_PITER_INCL_EMPTY_PART0 (1 << 3) /* include empty partition 0 */ | ||
218 | 220 | ||
219 | struct disk_part_iter { | 221 | struct disk_part_iter { |
220 | struct gendisk *disk; | 222 | struct gendisk *disk; |