diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-09-07 03:05:14 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-07 03:05:14 -0700 |
| commit | e86a37861c8a0830d7410bf9ebe5ebaf5f6adc7f (patch) | |
| tree | 9441ca4833309bbf6acc94fea3082184476a396d /include/linux/ide.h | |
| parent | 3708de94cf8d66e46d5ab7d712da81684ff99bf7 (diff) | |
[PATCH] (25/25) more cleanups of struct gendisk.
* we remove the paritition 0 from ->part[] and put the old
contents of ->part[0] into gendisk itself; indexes are shifted, obviously.
* ->part is allocated at add_gendisk() time and freed at del_gendisk()
according to value of ->minor_shift; static arrays of hd_struct are gone
from drivers, ditto for manual allocations a-la ide. As the matter of fact,
none of the drivers know about struct hd_struct now.
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 501b97902799..936a8eb9132d 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -508,7 +508,6 @@ typedef struct ide_drive_s { struct hwif_s *hwif; /* actually (ide_hwif_t *) */ wait_queue_head_t wqueue; /* used to wait for drive in open() */ struct hd_driveid *id; /* drive model identification info */ - struct hd_struct *part; /* drive partition table */ char name[4]; /* drive name, such as "hda" */ struct ide_driver_s *driver; /* (ide_driver_t *) */ void *driver_data; /* extra driver data */ |
