diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-08-10 02:21:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-08-10 02:21:40 -0700 |
| commit | 7e06e792cd7ded1e7fdc57c2bdd78099ef79678b (patch) | |
| tree | 498d1c4658410857c01434b86a53c590953438bb /include/linux/mtd | |
| parent | 814bd2ba199743fb93045459f28f521036671b86 (diff) | |
[PATCH] clean up major_name
->major_name for per-disk gendisks set to full name - i.e.
IDE gendisks have "hda", "hdb", etc. instead of "hd".
As the result, we kill a lot of crap in check.c::disk_name().
In particular, now we can afford ->minor_shift set to 0
for ide-cd (disk_name() was the only obstacle)
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/nftl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/nftl.h b/include/linux/mtd/nftl.h index 3483a8c4022d..55778a673b5d 100644 --- a/include/linux/mtd/nftl.h +++ b/include/linux/mtd/nftl.h @@ -104,6 +104,7 @@ struct NFTLrecord { unsigned int nb_blocks; /* number of physical blocks */ unsigned int nb_boot_blocks; /* number of blocks used by the bios */ struct erase_info instr; + struct gendisk *disk; }; int NFTL_mount(struct NFTLrecord *s); |
