Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 08:38:49 +0200 (CEST)
From:      Lukas Ertl <le@FreeBSD.org>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>
Cc:        phk@FreeBSD.org
Subject:   Re: vinum crashing with latest current
Message-ID:  <20040622083814.C639@korben.in.tern>
In-Reply-To: <6.1.0.6.1.20040622051016.03cae4e8@popserver.sfu.ca>
References:  <20040622035316.30729.qmail@web53702.mail.yahoo.com> <6.1.0.6.1.20040622051016.03cae4e8@popserver.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jun 2004, Colin Percival wrote:

> At 04:53 22/06/2004, Daryl Chance wrote:
>
> Now, I'm not sure which of these is correct, but ONE of the following
> two patches should be applied:
> --- src/sys/dev/vinum/vinumio.c	17 Jun 2004 17:16:47 -0000	1.99
> +++ src/sys/dev/vinum/vinumio.c	22 Jun 2004 04:29:08 -0000
> @@ -68,7 +68,7 @@ open_drive(struct drive *drive, struct t
> 	drive->lasterror = ENOTBLK;
>     else {
>         DROP_GIANT();
> -	drive->lasterror = (dsw->d_open) (drive->dev, FWRITE | FREAD, 0, NULL);
> +	drive->lasterror = (dsw->d_open) (drive->dev, FWRITE | FREAD, 0, td);
>         PICKUP_GIANT();
>     }

Thanks for catching this one!

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040622083814.C639>