The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Adam J. Richter" <adam@yggdrasil.com>
Subject: Re: [FIX] Re: 2.5.70-bk[56] breaks disk partitioning with multiple IDE disks
Date: Mon, 2 Jun 2003 03:09:03 +0100	[thread overview]
Message-ID: <20030602020903.GA28742@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0306011849050.16521-100000@home.transmeta.com>

On Sun, Jun 01, 2003 at 06:49:41PM -0700, Linus Torvalds wrote:
> 
> On Mon, 2 Jun 2003 viro@parcelfarce.linux.theplanet.co.uk wrote:
> > 
> > vi drivers/ide/ide.c -c'/drive->list.*driver->drives/s/list_add/&_tail/|x'
> 
> Mind sending me a patch? There's only so much I like doing with vi 
> scripts, and this went over my threshold.

No problem...

--- drivers/ide/ide.c	Sat May 31 15:31:08 2003
+++ /tmp/ide.c	Sun Jun  1 19:50:38 2003
@@ -2335,7 +2335,7 @@
 	setup_driver_defaults(drive);
 	spin_unlock_irqrestore(&ide_lock, flags);
 	spin_lock(&drives_lock);
-	list_add(&drive->list, &driver->drives);
+	list_add_tail(&drive->list, &driver->drives);
 	spin_unlock(&drives_lock);
 //	printk(KERN_INFO "%s: attached %s driver.\n", drive->name, driver->name);
 	if ((drive->autotune == IDE_TUNE_DEFAULT) ||

      reply	other threads:[~2003-06-02  1:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01 22:59 2.5.70-bk[56] breaks disk partitioning with multiple IDE disks Adam J. Richter
2003-06-01 23:53 ` [FIX] " viro
2003-06-02  1:49   ` Linus Torvalds
2003-06-02  2:09     ` viro [this message]

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=20030602020903.GA28742@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=adam@yggdrasil.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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