summaryrefslogtreecommitdiffstats
path: root/fs/partitions
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-15 01:55:58 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-15 01:55:58 +0000
commit53b3988d474435254a3b053a68bb24ce9e439295 (patch)
treef8da8e40f01f4ad02bbd76b8c9920749b118235f /fs/partitions
parentb0cb48abe83d1a4389ea938bf624f8baa82c5047 (diff)
Merge with 2.3.99-pre9.
Diffstat (limited to 'fs/partitions')
-rw-r--r--fs/partitions/check.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c
index 7f9ed2ba7..3b252ec63 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -135,6 +135,9 @@ char *disk_name (struct gendisk *hd, int minor, char *buf)
case IDE0_MAJOR:
maj = "hd";
break;
+ case MD_MAJOR:
+ unit -= 'a'-'0';
+ break;
}
if (hd->major >= SCSI_DISK1_MAJOR && hd->major <= SCSI_DISK7_MAJOR) {
unit = unit + (hd->major - SCSI_DISK1_MAJOR + 1) * 16;