public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex_williamson@hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] [PATCH] fix raid on GPT partitions
Date: Fri, 16 Aug 2002 16:33:08 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701905943@msgid-missing> (raw)

[-- 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
 	}

             reply	other threads:[~2002-08-16 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-16 16:33 Alex Williamson [this message]
2002-08-16 16:48 ` [Linux-ia64] [PATCH] fix raid on GPT partitions Matt_Domsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590701905943@msgid-missing \
    --to=alex_williamson@hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox