mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries Brouwer <aebr@win.tue.nl>
To: FabF <fabian.frederick@skynet.be>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2.6.7-mm1] MBR centralization
Date: Wed, 23 Jun 2004 23:36:29 +0200	[thread overview]
Message-ID: <20040623213629.GC3072@pclin040.win.tue.nl> (raw)
In-Reply-To: <1088025348.2213.32.camel@localhost.localdomain>

On Wed, Jun 23, 2004 at 11:15:49PM +0200, FabF wrote:
> 
> 	-DOS_EXTENDED_PARTITION washing#2
> 		(we don't want magic numbers, do we ?)
> 		-Remove use of <= 4 to < DOS_EXTENDED_PARTITION where needed

> -       for (slot = 1; slot <= 4; slot++, p++) {
> +       for (slot = 1; slot < DOS_EXTENDED_PARTITION; slot++, p++) {

Maybe you do not know, but the 5 of DOS_EXTENDED_PARTITION is the
value written in the sys_ind field of a partition.

It is totally unrelated to the 4 that is the upper bound of the
loop over the four primary partitions in a DOS-type partition table.

  parent reply	other threads:[~2004-06-23 21:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 21:15 FabF
2004-06-23 21:06 ` Andrew Morton
2004-06-23 22:04   ` FabF
2004-06-23 21:36 ` Andries Brouwer [this message]
2004-06-24  6:07   ` FabF
2004-06-24 12:57     ` Andries Brouwer
     [not found]     ` <Pine.LNX.4.60.0406240809280.29245@hermes-1.csi.cam.ac.uk>
     [not found]       ` <Pine.LNX.4.60.0406240829550.29245@hermes-1.csi.cam.ac.uk>
2004-06-24 13:06         ` Andries Brouwer
     [not found]           ` <1088152223.16286.9.camel@imp.csi.cam.ac.uk>
2004-06-25  9:39             ` Andries Brouwer
2004-06-24 15:10         ` FabF

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=20040623213629.GC3072@pclin040.win.tue.nl \
    --to=aebr@win.tue.nl \
    --cc=akpm@osdl.org \
    --cc=fabian.frederick@skynet.be \
    --cc=linux-kernel@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

Powered by JetHome