diff options
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r-- | include/linux/genhd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 16948eaecae3..a1a28caed23d 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h | |||
@@ -214,6 +214,7 @@ static inline void disk_put_part(struct hd_struct *part) | |||
214 | #define DISK_PITER_REVERSE (1 << 0) /* iterate in the reverse direction */ | 214 | #define DISK_PITER_REVERSE (1 << 0) /* iterate in the reverse direction */ |
215 | #define DISK_PITER_INCL_EMPTY (1 << 1) /* include 0-sized parts */ | 215 | #define DISK_PITER_INCL_EMPTY (1 << 1) /* include 0-sized parts */ |
216 | #define DISK_PITER_INCL_PART0 (1 << 2) /* include partition 0 */ | 216 | #define DISK_PITER_INCL_PART0 (1 << 2) /* include partition 0 */ |
217 | #define DISK_PITER_INCL_EMPTY_PART0 (1 << 3) /* include empty partition 0 */ | ||
217 | 218 | ||
218 | struct disk_part_iter { | 219 | struct disk_part_iter { |
219 | struct gendisk *disk; | 220 | struct gendisk *disk; |
@@ -333,11 +334,10 @@ static inline void part_dec_in_flight(struct hd_struct *part) | |||
333 | part_to_disk(part)->part0.in_flight--; | 334 | part_to_disk(part)->part0.in_flight--; |
334 | } | 335 | } |
335 | 336 | ||
336 | /* drivers/block/ll_rw_blk.c */ | 337 | /* block/blk-core.c */ |
337 | extern void part_round_stats(int cpu, struct hd_struct *part); | 338 | extern void part_round_stats(int cpu, struct hd_struct *part); |
338 | 339 | ||
339 | /* drivers/block/genhd.c */ | 340 | /* block/genhd.c */ |
340 | extern int get_blkdev_list(char *, int); | ||
341 | extern void add_disk(struct gendisk *disk); | 341 | extern void add_disk(struct gendisk *disk); |
342 | extern void del_gendisk(struct gendisk *gp); | 342 | extern void del_gendisk(struct gendisk *gp); |
343 | extern void unlink_gendisk(struct gendisk *gp); | 343 | extern void unlink_gendisk(struct gendisk *gp); |