* [Linux-ia64] [PATCH] fix raid on GPT partitions
@ 2002-08-16 16:33 Alex Williamson
2002-08-16 16:48 ` Matt_Domsch
0 siblings, 1 reply; 2+ messages in thread
From: Alex Williamson @ 2002-08-16 16:33 UTC (permalink / raw)
To: linux-ia64
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
Seems a minor number increment was missed in the efi partition
code. This was causing RAID to only autodetect if you were lucky
enough to be using raid on the first partition of the disk. Here's
the fix (against 2.4.18+0722).
Alex
--
Alex Williamson Linux Development Lab
alex_williamson@hp.com Hewlett Packard
970-898-9173 Fort Collins, CO
[-- Attachment #2: root-raid.diff --]
[-- Type: text/plain, Size: 678 bytes --]
Index: fs/partitions/efi.c
===================================================================
RCS file: /var/cvs/linux/fs/partitions/efi.c,v
retrieving revision 1.4
diff -u -p -r1.4 efi.c
--- fs/partitions/efi.c 15 May 2002 16:15:16 -0000 1.4
+++ fs/partitions/efi.c 16 Aug 2002 16:14:55 -0000
@@ -740,7 +740,7 @@ add_gpt_partitions(struct gendisk *hd, s
PARTITION_LINUX_RAID_GUID)) {
md_autodetect_dev(MKDEV
(MAJOR(to_kdev_t(bdev->bd_dev)),
- nextminor));
+ nextminor+i));
}
#endif
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-16 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-16 16:33 [Linux-ia64] [PATCH] fix raid on GPT partitions Alex Williamson
2002-08-16 16:48 ` Matt_Domsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox